cmark

My personal build of CMark ✏️

Commit
0a8a648ff5a6ecb11a4afa469543265da950d3de
Parent
aa670e93369d6891a8236b1dee3e113796fde857
Author
John MacFarlane <jgm@berkeley.edu>
Date

Makefile: add targets for html versions of man pages.

Diffstat

1 file changed, 6 insertions, 0 deletions

Status File Name N° Changes Insertions Deletions
Modified Makefile 6 6 0
diff --git 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