Consistent sample config file style
[sitarba.git] / Makefile
index 2365971fdb9544bd2015da54613ac8d9183ad856..408a6adf29c846311fddbfa2e2ded1e4abc1989e 100644 (file)
--- 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 $<
+
+