summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2010-11-10 12:59:27 -0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-11-15 22:25:25 +0000
commit0a23df95f75e55e689faa11e2720decc1f577b70 (patch)
tree4d183929c2503e72d1fe32cbfc0cbfe4b70f6673
parent5dc7082f8f023f2c9c9b6249c1f07a4d65b9ba4f (diff)
downloadpoky-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>
-rw-r--r--documentation/poky-ref-manual/Makefile10
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 @@
1all: html pdf tarball
2
3pdf:
4 ../tools/poky-docbook-to-pdf poky-ref-manual.xml ../template
5
6XSLTOPTS = --stringparam html.stylesheet style.css \ 1XSLTOPTS = --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 \
16XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current 11XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current
17XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl 12XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl
18 13
14all: html pdf tarball
15
16pdf:
17 ../tools/poky-docbook-to-pdf poky-ref-manual.xml ../template
18
19html: 19html:
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