From 0a8a648ff5a6ecb11a4afa469543265da950d3de Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 13 Dec 2014 21:05:23 -0800 Subject: Makefile: add targets for html versions of man pages. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b491d1f..2c15833 100644 --- a/Makefile +++ b/Makefile @@ -77,6 +77,12 @@ $(PROG): all man/man3/cmark.3: src/cmark.h python man/make_man_page.py $< > $@ +man/man1/cmark.1.html: man/man1/cmark.1 + groff -mman -Thtml > $@ + +man/man3/cmark.3.html: man/man3/cmark.3 + groff -mman -Thtml > $@ + # We include html_unescape.h in the repository, so this shouldn't # normally need to be generated. $(SRCDIR)/html_unescape.h: $(SRCDIR)/html_unescape.gperf -- cgit v1.2.3