Tell Makefile how to generate HTML versions of man pages.
authorW. Trevor King <wking@drexel.edu>
Fri, 22 Oct 2010 14:33:08 +0000 (10:33 -0400)
committerW. Trevor King <wking@drexel.edu>
Fri, 22 Oct 2010 14:33:08 +0000 (10:33 -0400)
Makefile

index e4f2de9c91f4af3db125f61a82b561caf3907f89..8f168b1f8550de74d329b513c1072c00e89b280a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,7 @@
 SHELL = /bin/bash
 RM = /bin/rm
 DB2MAN = http://docbook.sourceforge.net/release/xsl-ns/current/manpages/docbook.xsl
+DB2HTML = http://docbook.sourceforge.net/release/xsl-ns/current/html/docbook.xsl
 XP = /usr/bin/xsltproc --nonet --param man.charmap.use.subset "0" \
        --param make.year.ranges "1" --param make.single.year.ranges "1"
 
@@ -85,6 +86,8 @@ man: ${MANPAGE_FILES}
 
 %.1: %.1.xml
        $(XP) -o $@ $(DB2MAN) $<
+%.1.html: %.1.xml
+       $(XP) -o $@ $(DB2HTML) $<
 
 .PHONY: sphinx
 sphinx: