MANDOCS = catlfish.1 genconfig.1 RONN = ronn --warnings --organization="FIXME:\$$version" all: configman man html configman: ../tools/compileconfig.py --manpagedir=. make catlfish-log.cfg.in.5 make catlfish-node.cfg.5 man: $(MANDOCS) html: $(addsuffix .html,$(MANDOCS)) %: %.md $(RONN) --roff $^ %: %.adoc a2x --doctype manpage --format manpage $^ %.html: %.md $(RONN) --html $^ clean: -rm -f $(MANDOCS) $(addsuffix .html,$(MANDOCS))