aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Mueller <timo.mueller@bmw-carit.de>2012-11-30 09:59:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-14 15:36:09 +0000
commitda8cdf63b4db457db3d528686e4bc3e61565eb4f (patch)
treefb8707cf2e38acd14a05e19354dbe6ac5e9ed9c5
parent8d54920dd0dc7a68a897879cc6a5e0a209939273 (diff)
downloadopenembedded-core-contrib-da8cdf63b4db457db3d528686e4bc3e61565eb4f.tar.gz
documentation: Move kernel-manual global parameters to customization file
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>
-rw-r--r--documentation/Makefile7
-rw-r--r--documentation/kernel-manual/kernel-manual-customization.xsl7
2 files changed, 6 insertions, 8 deletions
diff --git a/documentation/Makefile b/documentation/Makefile
index 3941cf88ee..90cdae6edc 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -258,12 +258,7 @@ STYLESHEET = $(DOC)/*.css
endif
ifeq ($(DOC),kernel-dev)
-XSLTOPTS = --stringparam html.stylesheet kernel-dev-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 = kernel-dev.html kernel-dev.pdf kernel-dev-style.css figures/kernel-dev-title.png \
figures/kernel-architecture-overview.png
diff --git a/documentation/kernel-manual/kernel-manual-customization.xsl b/documentation/kernel-manual/kernel-manual-customization.xsl
index 8eb69050ba..6f46df2289 100644
--- a/documentation/kernel-manual/kernel-manual-customization.xsl
+++ b/documentation/kernel-manual/kernel-manual-customization.xsl
@@ -3,6 +3,9 @@
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" />
-<!-- <xsl:param name="generate.toc" select="'article nop'"></xsl:param> -->
-
+ <xsl:param name="html.stylesheet" select="'kernel-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>