summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-13 21:05:23 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-13 21:05:23 -0800
commit0a8a648ff5a6ecb11a4afa469543265da950d3de (patch)
tree0e19a6251df42471064f747621389b0810084e50 /Makefile
parentaa670e93369d6891a8236b1dee3e113796fde857 (diff)
Makefile: add targets for html versions of man pages.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
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