summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 2433800..ba940e5 100644
--- a/Makefile
+++ b/Makefile
@@ -26,14 +26,16 @@ BINDIR = /usr/bin
LIBDIR = /usr/lib
MANDIR = /usr/share/man
-VERSION = 1.4.10
+VERSION = 2.1
all: man.commons \
- backup backup.1 \
+ hardlinked-backup hardlinked-backup.1 \
backup@.service backup@.timer \
backup-progress \
backup-statistics backup-statistics.1 \
+ forwarddown forwarddown.1 \
last-backups last-backups.1 \
+ remove-old-backups.service remove-old-backups.timer \
remove-old-backups remove-old-backups.1
%: %.in
@@ -53,10 +55,11 @@ all: man.commons \
.PHONY: install dist clean
install: all
- install -D -m0755 -t $(DESTDIR)$(BINDIR) backup backup-progress backup-statistics last-backups remove-old-backups
- install -D -m0644 -t $(DESTDIR)$(LIBDIR)/systemd/system backup@.service backup@.timer
- install -D -m0644 -t $(DESTDIR)$(MANDIR)/man1 backup.1 backup-statistics.1 last-backups.1 remove-old-backups.1
+ install -D -m0755 -t $(DESTDIR)$(BINDIR) backup-progress backup-statistics forwarddown hardlinked-backup last-backups remove-old-backups
+ install -D -m0644 -t $(DESTDIR)$(LIBDIR)/systemd/system backup@.service backup@.timer remove-old-backups.service remove-old-backups.timer
+ install -D -m0644 -t $(DESTDIR)$(MANDIR)/man1 backup-statistics.1 forwarddown.1 hardlinked-backup.1 last-backups.1 remove-old-backups.1
install -D -m0644 -t $(DESTDIR)$(ETCDIR) backup.conf
+ install -D -m0755 -T sendmailadvanced.hook $(DESTDIR)$(ETCDIR)/sendmailadvanced.hooks/last-backups
clean:
git clean -x -d -f
@@ -65,6 +68,7 @@ dist: clean
git status --porcelain 2> /dev/null | grep -q "\S" && (git add .; git commit -m"neue Version: $(VERSION)") || true
! git tag -d v$(VERSION) 2> /dev/null
git tag v$(VERSION)
+ knock-knock || true
git push
git push --tags