diff options
author | Linus Nordberg <linus@nordu.net> | 2017-06-02 09:53:03 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2017-06-02 09:53:03 +0200 |
commit | 4894b8245ba4139498ec155170e9bdc9f4a96eda (patch) | |
tree | 4b2ffd36049bcc84da3a073f0d42f3e776e68b89 /doc/Makefile | |
parent | f9d9272401c588930d4ecca6fdd8903b2a09cb99 (diff) |
Add manpage documentation skeleton.doc
Diffstat (limited to 'doc/Makefile')
-rw-r--r-- | doc/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile new file mode 100644 index 0000000..b3de194 --- /dev/null +++ b/doc/Makefile @@ -0,0 +1,17 @@ +MANDOCS = catlfish.1 genconfig.1 +RONN = ronn --warnings --organization="FIXME:\$$version" + +all: man html + +man: $(MANDOCS) + +html: $(addsuffix .html,$(MANDOCS)) + +%: %.md + $(RONN) --roff $^ + +%.html: %.md + $(RONN) --html $^ + +clean: + -rm -f $(MANDOCS) $(addsuffix .html,$(MANDOCS)) |