[yocto] [PATCH 14/18] profile-manual: Move global parameters to customization file
Timo Mueller
mail at timomueller.eu
Fri Feb 8 05:21:31 PST 2013
From: Timo Mueller <timo.mueller at bmw-carit.de>
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: Timo Mueller <timo.mueller at bmw-carit.de>
---
documentation/Makefile | 7 +------
documentation/profile-manual/profile-manual-customization.xsl | 9 ++++++---
2 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/documentation/Makefile b/documentation/Makefile
index 3d2923d..a9ba020 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -227,12 +227,7 @@ STYLESHEET = $(DOC)/*.css
endif
ifeq ($(DOC),profile-manual)
-XSLTOPTS = --stringparam html.stylesheet profile-manual-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 = profile-manual.html profile-manual.pdf profile-manual-style.css \
figures/profile-title.png figures/kernelshark-all.png \
diff --git a/documentation/profile-manual/profile-manual-customization.xsl b/documentation/profile-manual/profile-manual-customization.xsl
index 8eb6905..ead52ee 100644
--- a/documentation/profile-manual/profile-manual-customization.xsl
+++ b/documentation/profile-manual/profile-manual-customization.xsl
@@ -1,8 +1,11 @@
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
-
- <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" />
-<!-- <xsl:param name="generate.toc" select="'article nop'"></xsl:param> -->
+ <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" />
+ <xsl:param name="html.stylesheet" select="'profile-manual-style.css'" />
+ <xsl:param name="chapter.autolabel" select="1" />
+ <xsl:param name="appendix.autolabel">A</xsl:param>
+ <xsl:param name="section.autolabel" select="1" />
+ <xsl:param name="section.label.includes.component.label" select="1" />
</xsl:stylesheet>
--
1.7.11.7
More information about the yocto
mailing list