diff options
author | Timo Mueller <timo.mueller@bmw-carit.de> | 2012-11-30 09:59:34 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-14 15:36:09 +0000 |
commit | da8cdf63b4db457db3d528686e4bc3e61565eb4f (patch) | |
tree | fb8707cf2e38acd14a05e19354dbe6ac5e9ed9c5 /documentation | |
parent | 8d54920dd0dc7a68a897879cc6a5e0a209939273 (diff) | |
download | poky-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>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/Makefile | 7 | ||||
-rw-r--r-- | documentation/kernel-manual/kernel-manual-customization.xsl | 7 |
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 | |||
258 | endif | 258 | endif |
259 | 259 | ||
260 | ifeq ($(DOC),kernel-dev) | 260 | ifeq ($(DOC),kernel-dev) |
261 | XSLTOPTS = --stringparam html.stylesheet kernel-dev-style.css \ | 261 | XSLTOPTS = --xinclude |
262 | --stringparam chapter.autolabel 1 \ | ||
263 | --stringparam appendix.autolabel A \ | ||
264 | --stringparam section.autolabel 1 \ | ||
265 | --stringparam section.label.includes.component.label 1 \ | ||
266 | --xinclude | ||
267 | ALLPREQ = html pdf tarball | 262 | ALLPREQ = html pdf tarball |
268 | TARFILES = kernel-dev.html kernel-dev.pdf kernel-dev-style.css figures/kernel-dev-title.png \ | 263 | TARFILES = kernel-dev.html kernel-dev.pdf kernel-dev-style.css figures/kernel-dev-title.png \ |
269 | figures/kernel-architecture-overview.png | 264 | 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 @@ | |||
3 | 3 | ||
4 | <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" /> | 4 | <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" /> |
5 | 5 | ||
6 | <!-- <xsl:param name="generate.toc" select="'article nop'"></xsl:param> --> | 6 | <xsl:param name="html.stylesheet" select="'kernel-style.css'" /> |
7 | 7 | <xsl:param name="chapter.autolabel" select="1" /> | |
8 | <xsl:param name="appendix.autolabel" select="A" /> | ||
9 | <xsl:param name="section.autolabel" select="1" /> | ||
10 | <xsl:param name="section.label.includes.component.label" select="1" /> | ||
8 | </xsl:stylesheet> | 11 | </xsl:stylesheet> |