aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-26 17:22:41 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-03-16 18:07:30 +0100
commit4c921b3be2ed973aa971f30e70f7d9658407c825 (patch)
treea8276bbe720400eb1c6fbfa6ac97641213c13b11 /doc/Makefile.am
parentd619d66b47a4788bf3ac9fcb3faf08a8def98a95 (diff)
downloadsciteco-4c921b3be2ed973aa971f30e70f7d9658407c825.tar.gz
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
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am8
1 files changed, 8 insertions, 0 deletions
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)
#