From 4c921b3be2ed973aa971f30e70f7d9658407c825 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 26 Feb 2013 17:22:41 +0100 Subject: added option to build manuals as HTML using Groff * will be useful for Windows builds since Windows users usally do not have a man-page formatter/reader --- doc/Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc') diff --git a/doc/Makefile.am b/doc/Makefile.am index 7ed5a5c..230949f 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -15,6 +15,14 @@ EXTRA_DIST += generate-docs.tes $(BOOTSTRAP_SCITECO) -m @srcdir@/generate-docs.tes \ $@ $< $(SOURCES) +if BUILD_HTMLMAN +html_DATA = sciteco.1.html sciteco.7.html +CLEANFILES += $(html_DATA) +endif + +%.html : % + @GROFF@ -Thtml -man $< >$@ + # # Doxygen processing (do not install or distribute) # -- cgit v1.2.3