summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 35bd6c6..ffdd23f 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ MANDIR = /usr/share/man
VERSION = 1.0.4
-all: hardlinkedbackups.8 backup lastBackups
+all: hardlinkedbackups.1 backup lastBackups
%: %.in
sed "s/#VERSION#/$(VERSION)/; s@#BINDIR#@$(BINDIR)@; s@#ETCDIR#@$(ETCDIR)@" $< > $@
@@ -35,12 +35,12 @@ all: hardlinkedbackups.8 backup lastBackups
install: all
install -D -m0755 -t $(DESTDIR)$(BINDIR) backup lastBackups
- install -D -m0644 -t $(DESTDIR)$(MANDIR)/man8 hardlinkedbackups.8
- ln -s $(DESTDIR)$(MANDIR)/man8/{hardlinkedbackups,backups,lastBackups}.8
+ install -D -m0644 -t $(DESTDIR)$(MANDIR)/man1 hardlinkedbackups.1
+ ln -s $(DESTDIR)$(MANDIR)/man1/{hardlinkedbackups,backups,lastBackups}.1
install -D -m0644 -t $(DESTDIR)$(ETCDIR) backup.conf
clean:
- rm -f backup lastBackups hardlinkedbackups.8
+ rm -f backup lastBackups hardlinkedbackups.1
dist: clean
git status --porcelain 2> /dev/null | grep -q "\S" && (git add .; git commit -m"neue Version: $(VERSION)") || true