diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2010-11-10 12:59:27 -0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-15 22:25:25 +0000 |
commit | 0a23df95f75e55e689faa11e2720decc1f577b70 (patch) | |
tree | 4d183929c2503e72d1fe32cbfc0cbfe4b70f6673 /documentation | |
parent | 5dc7082f8f023f2c9c9b6249c1f07a4d65b9ba4f (diff) | |
download | poky-0a23df95f75e55e689faa11e2720decc1f577b70.tar.gz |
Poky Reference Manual: Clean up Makefile
I moved the XSLTOPTS variables to the top of the file so they will
be defined first. This is an attempt to fix the seemingly random
HTML runtime errors I am getting during the 'make html' command.
It seems to be consistently working now.
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/poky-ref-manual/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/documentation/poky-ref-manual/Makefile b/documentation/poky-ref-manual/Makefile index c906c7debd..5f03a862ef 100644 --- a/documentation/poky-ref-manual/Makefile +++ b/documentation/poky-ref-manual/Makefile | |||
@@ -1,8 +1,3 @@ | |||
1 | all: html pdf tarball | ||
2 | |||
3 | pdf: | ||
4 | ../tools/poky-docbook-to-pdf poky-ref-manual.xml ../template | ||
5 | |||
6 | XSLTOPTS = --stringparam html.stylesheet style.css \ | 1 | XSLTOPTS = --stringparam html.stylesheet style.css \ |
7 | --stringparam chapter.autolabel 1 \ | 2 | --stringparam chapter.autolabel 1 \ |
8 | --stringparam appendix.autolabel A \ | 3 | --stringparam appendix.autolabel A \ |
@@ -16,6 +11,11 @@ XSLTOPTS = --stringparam html.stylesheet style.css \ | |||
16 | XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current | 11 | XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current |
17 | XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl | 12 | XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl |
18 | 13 | ||
14 | all: html pdf tarball | ||
15 | |||
16 | pdf: | ||
17 | ../tools/poky-docbook-to-pdf poky-ref-manual.xml ../template | ||
18 | |||
19 | html: | 19 | html: |
20 | # See http://www.sagehill.net/docbookxsl/HtmlOutput.html | 20 | # See http://www.sagehill.net/docbookxsl/HtmlOutput.html |
21 | xsltproc $(XSLTOPTS) -o poky-ref-manual.html $(XSL_XHTML_URI) poky-ref-manual.xml | 21 | xsltproc $(XSLTOPTS) -o poky-ref-manual.html $(XSL_XHTML_URI) poky-ref-manual.xml |