From afd1ba56e1d5d1f5fccb13ca41fda7e19c08f65e Mon Sep 17 00:00:00 2001 From: Magnus Ahltorp Date: Mon, 3 Jul 2017 00:21:02 +0200 Subject: Automatic generation of config man page skeleton --- doc/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'doc/Makefile') diff --git a/doc/Makefile b/doc/Makefile index b3de194..528b6d5 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,7 +1,12 @@ MANDOCS = catlfish.1 genconfig.1 RONN = ronn --warnings --organization="FIXME:\$$version" -all: man html +all: configman man html + +configman: + ../tools/compileconfig.py --manpagedir=. + make catlfish-log.cfg.in.5 + make catlfish-node.cfg.5 man: $(MANDOCS) @@ -10,6 +15,9 @@ html: $(addsuffix .html,$(MANDOCS)) %: %.md $(RONN) --roff $^ +%: %.adoc + a2x --doctype manpage --format manpage $^ + %.html: %.md $(RONN) --html $^ -- cgit v1.1