mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
5dc7082f8f
commit
0a23df95f7
@@ -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 \
|
XSLTOPTS = --stringparam html.stylesheet style.css \
|
||||||
--stringparam chapter.autolabel 1 \
|
--stringparam chapter.autolabel 1 \
|
||||||
--stringparam appendix.autolabel A \
|
--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_BASE_URI = http://docbook.sourceforge.net/release/xsl/current
|
||||||
XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl
|
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:
|
html:
|
||||||
# See http://www.sagehill.net/docbookxsl/HtmlOutput.html
|
# See http://www.sagehill.net/docbookxsl/HtmlOutput.html
|
||||||
xsltproc $(XSLTOPTS) -o poky-ref-manual.html $(XSL_XHTML_URI) poky-ref-manual.xml
|
xsltproc $(XSLTOPTS) -o poky-ref-manual.html $(XSL_XHTML_URI) poky-ref-manual.xml
|
||||||
|
|||||||
Reference in New Issue
Block a user