Browse Source

[master] fix xsltproc --stringparam html.stylesheet usage

This is to set the location of the css stylesheet.
Previously it pointed to a path in the source directory.
By default, this was "./" so was okay as a location via HTTP.
But when built using a different source directory, then
the full source directory ended up as a reference on the webpage
so then style's didn't work.

I briefly discussed this on jabber yesterday but didn't get an okay.
It is a minor fix, so committing per my discretion.
Jeremy C. Reed 11 years ago
parent
commit
dfd3f41f97
1 changed files with 2 additions and 2 deletions
  1. 2 2
      doc/guide/Makefile.am

+ 2 - 2
doc/guide/Makefile.am

@@ -17,7 +17,7 @@ bind10-guide.html: bind10-guide.xml
 		-o $@ \
 		--stringparam section.autolabel 1 \
 		--stringparam section.label.includes.component.label 1 \
-		--stringparam html.stylesheet $(srcdir)/bind10-guide.css \
+		--stringparam html.stylesheet bind10-guide.css \
 		http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl \
 		$(srcdir)/bind10-guide.xml
 
@@ -28,7 +28,7 @@ bind10-messages.html: bind10-messages.xml
 	@XSLTPROC@ --novalid --xinclude --nonet \
 		--path $(top_builddir)/doc \
 		-o $@ \
-		--stringparam html.stylesheet $(srcdir)/bind10-guide.css \
+		--stringparam html.stylesheet bind10-guide.css \
 		http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl \
 		bind10-messages.xml