diff options
author | Magnus Ahltorp <map@kth.se> | 2017-07-03 00:21:02 +0200 |
---|---|---|
committer | Magnus Ahltorp <map@kth.se> | 2017-07-03 00:21:02 +0200 |
commit | afd1ba56e1d5d1f5fccb13ca41fda7e19c08f65e (patch) | |
tree | 898fd260c33b75d2eaa2013455d4d71a4ff377c8 /doc/Makefile | |
parent | c110981461945fdf8ca2ad9ad29dc349128b3ed4 (diff) |
Automatic generation of config man page skeletondocgen
Diffstat (limited to 'doc/Makefile')
-rw-r--r-- | doc/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
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 $^ |