From 3c1e9462739cdd162f854f83fbfc767e4ab97954 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Sun, 20 May 2012 17:24:45 +0200 Subject: [PATCH] Makefile: make manpage compilation optional --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 $< -- 2.39.5