diff options
Diffstat (limited to 'handbook/Makefile')
-rw-r--r-- | handbook/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/handbook/Makefile b/handbook/Makefile index 502c951a7a..ee549f1cbf 100644 --- a/handbook/Makefile +++ b/handbook/Makefile | |||
@@ -1,10 +1,8 @@ | |||
1 | all: html pdf tarball | 1 | all: html pdf tarball |
2 | 2 | ||
3 | pdf: | 3 | pdf: |
4 | ./poky-doc-tools/poky-docbook-to-pdf poky-handbook.xml | 4 | ./tools/poky-docbook-to-pdf poky-handbook.xml ./template |
5 | ./poky-doc-tools/poky-docbook-to-pdf bsp-guide.xml | 5 | ./tools/poky-docbook-to-pdf bsp-guide.xml ./template |
6 | # -- old way -- | ||
7 | # dblatex poky-handbook.xml | ||
8 | 6 | ||
9 | XSLTOPTS = --stringparam html.stylesheet style.css \ | 7 | XSLTOPTS = --stringparam html.stylesheet style.css \ |
10 | --stringparam chapter.autolabel 1 \ | 8 | --stringparam chapter.autolabel 1 \ |
@@ -22,8 +20,6 @@ html: | |||
22 | # See http://www.sagehill.net/docbookxsl/HtmlOutput.html | 20 | # See http://www.sagehill.net/docbookxsl/HtmlOutput.html |
23 | xsltproc $(XSLTOPTS) -o poky-handbook.html $(XSL_XHTML_URI) poky-handbook.xml | 21 | xsltproc $(XSLTOPTS) -o poky-handbook.html $(XSL_XHTML_URI) poky-handbook.xml |
24 | xsltproc $(XSLTOPTS) -o bsp-guide.html $(XSL_XHTML_URI) bsp-guide.xml | 22 | xsltproc $(XSLTOPTS) -o bsp-guide.html $(XSL_XHTML_URI) bsp-guide.xml |
25 | # -- old way -- | ||
26 | # xmlto xhtml-nochunks poky-handbook.xml | ||
27 | 23 | ||
28 | tarball: html | 24 | tarball: html |
29 | tar -cvzf poky-handbook.tgz poky-handbook.html style.css screenshots/ss-sato.png poky-beaver.png poky-handbook.png | 25 | tar -cvzf poky-handbook.tgz poky-handbook.html style.css screenshots/ss-sato.png poky-beaver.png poky-handbook.png |
@@ -36,3 +32,6 @@ SOURCES = *.png *.xml *.css *.svg | |||
36 | 32 | ||
37 | publish: | 33 | publish: |
38 | scp -r $(OUTPUTS) $(SOURCES) o-hand.com:/srv/www/pokylinux.org/doc/ | 34 | scp -r $(OUTPUTS) $(SOURCES) o-hand.com:/srv/www/pokylinux.org/doc/ |
35 | |||
36 | clean: | ||
37 | rm $(OUTPUTS) | ||