Skip to content

Commit

Permalink
user-manual: ensure generated manual references stylesheet
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
J. Bruce Fields authored and Junio C Hamano committed Mar 5, 2007
1 parent 1c73bb0 commit 1c95c56
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,11 @@ clean:
user-manual.xml: user-manual.txt user-manual.conf
$(ASCIIDOC) -b docbook -d book $<

XSLT = http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
XSLTOPTS = --nonet --xinclude --stringparam html.stylesheet docbook-xsl.css

user-manual.html: user-manual.xml
xmlto html-nochunks $<
xsltproc $(XSLTOPTS) -o $@ $(XSLT) $<

glossary.html : glossary.txt sort_glossary.pl
cat $< | \
Expand Down

0 comments on commit 1c95c56

Please sign in to comment.