diff options
author | Timo Mueller <timo.mueller@bmw-carit.de> | 2012-11-30 09:59:39 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-14 17:14:58 +0000 |
commit | e3980c4938e6393bb3133b83860fd2ebe985f07f (patch) | |
tree | 3425fb52277c363daaa512a2903b48566cb6acde /documentation | |
parent | d90e93b21e0d94a8d2f201efc2fb0b7719afe85e (diff) | |
download | poky-e3980c4938e6393bb3133b83860fd2ebe985f07f.tar.gz |
documentation: Move poky-ref-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/ref-manual/ref-manual-customization.xsl | 5 |
2 files changed, 6 insertions, 6 deletions
diff --git a/documentation/Makefile b/documentation/Makefile index 7be3afec71..660f92a9b0 100644 --- a/documentation/Makefile +++ b/documentation/Makefile | |||
@@ -202,12 +202,7 @@ STYLESHEET = $(DOC)/*.css | |||
202 | endif | 202 | endif |
203 | 203 | ||
204 | ifeq ($(DOC),ref-manual) | 204 | ifeq ($(DOC),ref-manual) |
205 | XSLTOPTS = --stringparam html.stylesheet ref-style.css \ | 205 | XSLTOPTS = --xinclude |
206 | --stringparam chapter.autolabel 1 \ | ||
207 | --stringparam appendix.autolabel A \ | ||
208 | --stringparam section.autolabel 1 \ | ||
209 | --stringparam section.label.includes.component.label 1 \ | ||
210 | --xinclude | ||
211 | ALLPREQ = html pdf tarball | 206 | ALLPREQ = html pdf tarball |
212 | TARFILES = ref-manual.html ref-style.css figures/poky-title.png \ | 207 | TARFILES = ref-manual.html ref-style.css figures/poky-title.png \ |
213 | figures/buildhistory.png figures/buildhistory-web.png | 208 | figures/buildhistory.png figures/buildhistory-web.png |
diff --git a/documentation/ref-manual/ref-manual-customization.xsl b/documentation/ref-manual/ref-manual-customization.xsl index 362ebed131..3ad3a315c0 100644 --- a/documentation/ref-manual/ref-manual-customization.xsl +++ b/documentation/ref-manual/ref-manual-customization.xsl | |||
@@ -3,4 +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="html.stylesheet" select="'ref-style.css'" /> | ||
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" /> | ||
6 | </xsl:stylesheet> | 11 | </xsl:stylesheet> |