summaryrefslogtreecommitdiff
path: root/documentation/poky-ref-manual/Makefile
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 /documentation/poky-ref-manual/Makefile
parent5dc7082f8f023f2c9c9b6249c1f07a4d65b9ba4f (diff)
downloadopenembedded-core-0a23df95f75e55e689faa11e2720decc1f577b70.tar.gz
openembedded-core-0a23df95f75e55e689faa11e2720decc1f577b70.tar.bz2
openembedded-core-0a23df95f75e55e689faa11e2720decc1f577b70.zip
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/poky-ref-manual/Makefile')
-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 @@
-all: html pdf tarball
-
-pdf:
- ../tools/poky-docbook-to-pdf poky-ref-manual.xml ../template
-
XSLTOPTS = --stringparam html.stylesheet style.css \
--stringparam chapter.autolabel 1 \
--stringparam appendix.autolabel A \
@@ -16,6 +11,11 @@ XSLTOPTS = --stringparam html.stylesheet style.css \
XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current
XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl
+all: html pdf tarball
+
+pdf:
+ ../tools/poky-docbook-to-pdf poky-ref-manual.xml ../template
+
html:
# See http://www.sagehill.net/docbookxsl/HtmlOutput.html
xsltproc $(XSLTOPTS) -o poky-ref-manual.html $(XSL_XHTML_URI) poky-ref-manual.xml