From c07c687273afc1f38258d3fa5caf39244c0d1b33 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 22 Oct 2010 10:33:08 -0400 Subject: [PATCH] Tell Makefile how to generate HTML versions of man pages. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index e4f2de9..8f168b1 100644 --- 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: -- 2.26.2