diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-05-26 15:26:09 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-05-26 15:26:09 +0100 |
commit | d630317b6b297ba6567cc2e3914706dda0690245 (patch) | |
tree | ee62c56cb1be893bdf7802ac7a39aff85b8de10c /handbook/Makefile | |
parent | a49e605a52a3bd6b688a16104fa9b5d17e06bcd5 (diff) | |
download | poky-d630317b6b297ba6567cc2e3914706dda0690245.tar.gz |
handbook: Add alpha verison of a BSP specification
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'handbook/Makefile')
-rw-r--r-- | handbook/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/handbook/Makefile b/handbook/Makefile index 4a4dd7e83f..01353b11af 100644 --- a/handbook/Makefile +++ b/handbook/Makefile | |||
@@ -3,18 +3,20 @@ all: html pdf tarball | |||
3 | pdf: | 3 | pdf: |
4 | 4 | ||
5 | ./poky-doc-tools/poky-docbook-to-pdf poky-handbook.xml | 5 | ./poky-doc-tools/poky-docbook-to-pdf poky-handbook.xml |
6 | ./poky-doc-tools/poky-docbook-to-pdf bsp-guide.xml | ||
6 | # -- old way -- | 7 | # -- old way -- |
7 | # dblatex poky-handbook.xml | 8 | # dblatex poky-handbook.xml |
8 | 9 | ||
10 | XSLTOPTS = --stringparam html.stylesheet style.css \ | ||
11 | --stringparam chapter.autolabel 1 \ | ||
12 | --stringparam appendix.autolabel 1 \ | ||
13 | --stringparam section.autolabel 1 | ||
14 | XSLTOPTS2 = --xinclude /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl | ||
15 | |||
9 | html: | 16 | html: |
10 | # See http://www.sagehill.net/docbookxsl/HtmlOutput.html | 17 | # See http://www.sagehill.net/docbookxsl/HtmlOutput.html |
11 | xsltproc --stringparam html.stylesheet style.css \ | 18 | xsltproc $(XSLTOPTS) -o poky-handbook.html $(XSLTOPTS2) poky-handbook.xml |
12 | --stringparam chapter.autolabel 1 \ | 19 | xsltproc $(XSLTOPTS) -o bsp-guide.html $(XSLTOPTS2) bsp-guide.xml |
13 | --stringparam appendix.autolabel 1 \ | ||
14 | --stringparam section.autolabel 1 \ | ||
15 | -o poky-handbook.html \ | ||
16 | --xinclude /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl \ | ||
17 | poky-handbook.xml | ||
18 | # -- old way -- | 20 | # -- old way -- |
19 | # xmlto xhtml-nochunks poky-handbook.xml | 21 | # xmlto xhtml-nochunks poky-handbook.xml |
20 | 22 | ||
@@ -24,7 +26,7 @@ tarball: html | |||
24 | validate: | 26 | validate: |
25 | xmllint --postvalid --xinclude --noout poky-handbook.xml | 27 | xmllint --postvalid --xinclude --noout poky-handbook.xml |
26 | 28 | ||
27 | OUTPUTS = poky-handbook.tgz poky-handbook.html poky-handbook.pdf | 29 | OUTPUTS = poky-handbook.tgz poky-handbook.html poky-handbook.pdf bsp-guide.pdf |
28 | SOURCES = *.png *.xml *.css *.svg | 30 | SOURCES = *.png *.xml *.css *.svg |
29 | 31 | ||
30 | publish: | 32 | publish: |