user-manual: ensure generated manual references stylesheet
The generated user manual is rather hard to read thanks to the lack of the css that's supposed to be included from docbook-xsl.css. I'm totally ignorant of the toolchain; grubbing through xmlto and related scripts, the easiest way I could find to ensure that the generated html links to the stylesheet is by calling xsltproc directly. Maybe there's some better way. Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu> Signed-off-by: Junio C Hamano <junkio@cox.net>
J. Bruce Fields committed
Mar 3, 2007 at 13:33 UTC
1c95c565c2472a07be8316f2658e7100e62bf94d
1 file changed
+4
-1
Documentation/Makefile
+4
-1
@@ -105,8 +105,11 @@ clean:
105
user-manual.xml: user-manual.txt user-manual.conf
106
$(ASCIIDOC) -b docbook -d book $<
107
108
+XSLT = http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
109
+XSLTOPTS = --nonet --xinclude --stringparam html.stylesheet docbook-xsl.css
110
+
111
user-manual.html: user-manual.xml
109
- xmlto html-nochunks $<
112
+ xsltproc $(XSLTOPTS) -o $@ $(XSLT) $<
113
114
glossary.html : glossary.txt sort_glossary.pl
115
cat $< | \