X-Git-Url: https://git.sthu.org/?p=sitarba.git;a=blobdiff_plain;f=Makefile;h=408a6adf29c846311fddbfa2e2ded1e4abc1989e;hp=2365971fdb9544bd2015da54613ac8d9183ad856;hb=2de2e430660ff014f4d49013765133e9e0ee816c;hpb=07fa9c2763775fe326e5aec08f8f4ee570072f5b diff --git a/Makefile b/Makefile index 2365971..408a6ad 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,21 @@ PREFIX=/usr # Where the script binary should go BINPATH = $(PREFIX)/bin -# Where the manpage should go MANPATH = $(PREFIX)/share/man -CONFFILE = /etc/shbackup.conf +CONFFILE = $(PREFIX)/share/shbackup.conf.sample ###################################################################### -all: +all: install: all install -m 0755 shbackup $(BINPATH)/shbackup install -m 0644 shbackup.conf $(CONFFILE) install -m 0644 shbackup.1 $(MANPATH)/man1/shbackup.1 +manpage: shbackup.1 + +shbackup.1: shbackup.docbook + docbook2man.pl $< + +