X-Git-Url: https://git.sthu.org/?p=sitarba.git;a=blobdiff_plain;f=Makefile;h=408a6adf29c846311fddbfa2e2ded1e4abc1989e;hp=6db310f7d92666ac7e996695982cec98b012d7cc;hb=2de2e430660ff014f4d49013765133e9e0ee816c;hpb=2cb9c718633a922bcee6d3dbb27d448c38d6a7d6 diff --git a/Makefile b/Makefile index 6db310f..408a6ad 100644 --- a/Makefile +++ b/Makefile @@ -1,20 +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: shbackup.1 +all: install: all install -m 0755 shbackup $(BINPATH)/shbackup install -m 0644 shbackup.conf $(CONFFILE) install -m 0644 shbackup.1 $(MANPATH)/man1/shbackup.1 -shbackup.1: +manpage: shbackup.1 + +shbackup.1: shbackup.docbook docbook2man.pl $<