From: Stefan Huber Date: Sun, 20 May 2012 15:24:45 +0000 (+0200) Subject: Makefile: make manpage compilation optional X-Git-Tag: v1.0 X-Git-Url: https://git.sthu.org/?p=sitarba.git;a=commitdiff_plain;h=49fbdeb6f0a0e834e0be49c549b4bb0da10573e7;hp=2cb9c718633a922bcee6d3dbb27d448c38d6a7d6 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 $<