From 719419d364feb2173e861d9e85b9fd1dd8b77b33 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 9 Mar 2011 13:08:56 +0100 Subject: [PATCH] finish (kind of ugly) manpage generation in makefile Signed-off-by: Nico Schottelius --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 115fa5f8..a6d78aeb 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ all: man: doc/man/.marker -doc/man/.marker: +doc/man/.marker: $(MANDIR)/cdist-reference.text touch $@ # Manual from core @@ -61,13 +61,12 @@ mantype: manmove: mantype mancore for manpage in $(MANDIR)/*.[1-9] conf/type/*/*.7; do \ cat=$${manpage##*.}; \ - echo $$cat; \ mandir=$(MANDIR)/man$$cat; \ mkdir -p $$mandir; \ mv $$manpage $$mandir; \ done -# Reference +# Reference depends on conf/type/*/man.text - HOWTO with posix make? $(MANDIR)/cdist-reference.text: manmove $(MANDIR)/cdist-reference.text.sh $(MANDIR)/cdist-reference.text.sh $(A2X) $(MANDIR)/cdist-reference.text