summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-05-24 09:02:36 +0200
committerErich Eckner <git@eckner.net>2016-05-24 09:02:36 +0200
commit073e937c5d6c80a2bbf36f157b8c26701a198f55 (patch)
tree6826f28027f61a08b8d47be226a816942f13e9fb /Makefile
parent37830a9ebcaa283a0ec345b44ba91c669255600d (diff)
downloadhardlinkedBackups-073e937c5d6c80a2bbf36f157b8c26701a198f55.tar.xz
manpage .1 -> .8
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