Skip to content

Commit 1c95c56

Browse files
J. Bruce FieldsJunio C Hamano
authored andcommitted
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>
1 parent 1c73bb0 commit 1c95c56

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Documentation/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,11 @@ clean:
105105
user-manual.xml: user-manual.txt user-manual.conf
106106
$(ASCIIDOC) -b docbook -d book $<
107107

108+
XSLT = http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
109+
XSLTOPTS = --nonet --xinclude --stringparam html.stylesheet docbook-xsl.css
110+
108111
user-manual.html: user-manual.xml
109-
xmlto html-nochunks $<
112+
xsltproc $(XSLTOPTS) -o $@ $(XSLT) $<
110113

111114
glossary.html : glossary.txt sort_glossary.pl
112115
cat $< | \

0 commit comments

Comments
 (0)