]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
documentation: Move poky-ref-manual global parameters to customization file
authorTimo Mueller <timo.mueller@bmw-carit.de>
Fri, 30 Nov 2012 08:59:39 +0000 (09:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Feb 2013 17:14:58 +0000 (17:14 +0000)
Standard stylesheet parameters were moved to the docbook customization
file tying them to the docbook stylesheet used. Removing these
parameters simplifies the Makefile.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
documentation/Makefile
documentation/ref-manual/ref-manual-customization.xsl

index 7be3afec710a5e02d983580a8f669eb85a70cf07..660f92a9b00dd838522f0e647e955e929f1f3000 100644 (file)
@@ -202,12 +202,7 @@ STYLESHEET = $(DOC)/*.css
 endif
 
 ifeq ($(DOC),ref-manual)
-XSLTOPTS = --stringparam html.stylesheet ref-style.css \
-           --stringparam  chapter.autolabel 1 \
-           --stringparam  appendix.autolabel A \
-           --stringparam  section.autolabel 1 \
-           --stringparam  section.label.includes.component.label 1 \
-           --xinclude
+XSLTOPTS = --xinclude
 ALLPREQ = html pdf tarball
 TARFILES = ref-manual.html ref-style.css figures/poky-title.png \
        figures/buildhistory.png figures/buildhistory-web.png
index 362ebed1312ae19037ad453b7f012887d6d9fc7e..3ad3a315c0f32a721979a7d1c7cd15570cbcb00c 100644 (file)
@@ -3,4 +3,9 @@
   
   <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" />
 
+  <xsl:param name="html.stylesheet" select="'ref-style.css'" />
+  <xsl:param name="chapter.autolabel" select="1" />
+  <xsl:param name="appendix.autolabel" select="A" />
+  <xsl:param name="section.autolabel" select="1" />
+  <xsl:param name="section.label.includes.component.label" select="1" />
 </xsl:stylesheet>