From: Stefan Huber Date: Sun, 20 May 2012 15:24:45 +0000 (+0200) Subject: Makefile: make manpage compilation optional X-Git-Tag: v1.0^0 X-Git-Url: https://git.sthu.org/?p=sitarba.git;a=commitdiff_plain;h=3c1e9462739cdd162f854f83fbfc767e4ab97954 Makefile: make manpage compilation optional --- diff --git a/Makefile b/Makefile index 6db310f..0a85db1 100644 --- a/Makefile +++ b/Makefile @@ -7,14 +7,16 @@ CONFFILE = /etc/shbackup.conf ###################################################################### -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 $<