]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] fix xsltproc --stringparam html.stylesheet usage
authorJeremy C. Reed <jreed@isc.org>
Thu, 31 Oct 2013 12:37:18 +0000 (07:37 -0500)
committerJeremy C. Reed <jreed@isc.org>
Thu, 31 Oct 2013 12:37:18 +0000 (07:37 -0500)
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.

doc/guide/Makefile.am

index 8f3aaaf23bd393f032046d865b32bc07c24995ec..3bffa1af251bde2ce06e53bd71a24ca8e0771250 100644 (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