summaryrefslogtreecommitdiffstats
path: root/documentation/bsp-guide
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2010-11-09 09:41:05 -0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-11-15 22:25:24 +0000
commit440894bb6f60e29da99b54825c315668a3a20abe (patch)
treee543055d7c2831ed852329741c55760c84546485 /documentation/bsp-guide
parent7066eff0bdb012643a3f529d6030054bf18e375f (diff)
downloadpoky-440894bb6f60e29da99b54825c315668a3a20abe.tar.gz
BSP Guide Makefile: HTML generation debugging edits.
I am getting occasional errors while attempting to make the HTML version of this manual. The error is generated from line 367 of the html.xsl style sheet and seems to come from confusion of not finding the css style sheet parameter. Here is the error from the shell window. scottrif@scottrif-desktop:~/poky/documentation/bsp-guide$ make html xsltproc --stringparam html.stylesheet style.css --stringparam chapter.autolabel 1 --stringparam section.autolabel 1 --stringparam section.label.includes.component.label 1 --xinclude -o bsp-guide.html http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl bsp-guide.xml Note: namesp. cut : stripped namespace before processing WARNING: cannot add @xml:base to node set root element. Relative paths may not work. Note: namesp. cut : processing stripped document runtime error: file http://docbook.sourceforge.net/release/xsl/current/xhtml/html.xsl line 367 element choose Variable 'generate.css.header' has not been declared. make: *** [html] Error 10 The odd think is that running "make html" immediately again could cause the make to be entirely successful. So this commit involved moving the XSLTOPTS parameters to the top of the make file and the *_URI parameter declarations to the top as well. This takes them out of the "pdf" area of the make file and they should be more universal. The reason I tried this is because I have no such issues when building the yocto-project-qs HTML file. However, even with these changes the occasional runtime error (shown above) still occurs. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Diffstat (limited to 'documentation/bsp-guide')
-rw-r--r--documentation/bsp-guide/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/documentation/bsp-guide/Makefile b/documentation/bsp-guide/Makefile
index 4cf6533be7..d2f29aa53f 100644
--- a/documentation/bsp-guide/Makefile
+++ b/documentation/bsp-guide/Makefile
@@ -1,8 +1,3 @@
1all: html pdf tarball
2
3pdf:
4 ../tools/poky-docbook-to-pdf bsp-guide.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 section.autolabel 1 \ 3 --stringparam section.autolabel 1 \
@@ -15,6 +10,11 @@ XSLTOPTS = --stringparam html.stylesheet style.css \
15XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current 10XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current
16XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl 11XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl
17 12
13all: html pdf tarball
14
15pdf:
16 ../tools/poky-docbook-to-pdf bsp-guide.xml ../template
17
18html: 18html:
19# See http://www.sagehill.net/docbookxsl/HtmlOutput.html 19# See http://www.sagehill.net/docbookxsl/HtmlOutput.html
20 xsltproc $(XSLTOPTS) -o bsp-guide.html $(XSL_XHTML_URI) bsp-guide.xml 20 xsltproc $(XSLTOPTS) -o bsp-guide.html $(XSL_XHTML_URI) bsp-guide.xml