diff options
author | Timo Mueller <timo.mueller@bmw-carit.de> | 2012-11-30 09:59:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-14 15:26:04 +0000 |
commit | b3f1c60b7b8cf4159ba95ac1923222014309e233 (patch) | |
tree | 2b41e77358e9558e243d7781fba3a2d2e15a7bf2 | |
parent | 9ab3c018a23520d6d5dbec6156948ed842fc5fae (diff) | |
download | poky-b3f1c60b7b8cf4159ba95ac1923222014309e233.tar.gz |
documentation: Move dev-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/Makefile | 6 | ||||
-rw-r--r-- | documentation/dev-manual/dev-manual-customization.xsl | 6 |
2 files changed, 5 insertions, 7 deletions
diff --git a/documentation/Makefile b/documentation/Makefile index fdf2385ea8..91d9a78033 100644 --- a/documentation/Makefile +++ b/documentation/Makefile | |||
@@ -84,11 +84,7 @@ STYLESHEET = $(DOC)/*.css | |||
84 | endif | 84 | endif |
85 | 85 | ||
86 | ifeq ($(DOC),dev-manual) | 86 | ifeq ($(DOC),dev-manual) |
87 | XSLTOPTS = --stringparam html.stylesheet dev-style.css \ | 87 | XSLTOPTS = --xinclude |
88 | --stringparam chapter.autolabel 1 \ | ||
89 | --stringparam section.autolabel 1 \ | ||
90 | --stringparam section.label.includes.component.label 1 \ | ||
91 | --xinclude | ||
92 | ALLPREQ = html pdf tarball | 88 | ALLPREQ = html pdf tarball |
93 | # | 89 | # |
94 | # Note that the tarfile might produce the "Cannot stat: No such file or directory" error | 90 | # Note that the tarfile might produce the "Cannot stat: No such file or directory" error |
diff --git a/documentation/dev-manual/dev-manual-customization.xsl b/documentation/dev-manual/dev-manual-customization.xsl index 8eb69050ba..8969605989 100644 --- a/documentation/dev-manual/dev-manual-customization.xsl +++ b/documentation/dev-manual/dev-manual-customization.xsl | |||
@@ -3,6 +3,8 @@ | |||
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="'dev-style.css'" /> |
7 | 7 | <xsl:param name="chapter.autolabel" select="1" /> | |
8 | <xsl:param name="section.autolabel" select="1" /> | ||
9 | <xsl:param name="section.label.includes.component.label" select="1" /> | ||
8 | </xsl:stylesheet> | 10 | </xsl:stylesheet> |