2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[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.
This commit is contained in:
Jeremy C. Reed
2013-10-31 07:37:18 -05:00
parent d2f1cc6e6d
commit dfd3f41f97

View File

@@ -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