diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-29 15:26:29 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-29 15:27:04 +0100 |
commit | 2624b6181411fe722c73ec95aba9ea8c3d92bca5 (patch) | |
tree | bb3c5db53c6c5fbbdb086c90a644ece12cda8e21 /handbook/Makefile | |
parent | 1e0e6f11850c7014700604f7e24f9579d8d19102 (diff) | |
download | poky-2624b6181411fe722c73ec95aba9ea8c3d92bca5.tar.gz |
poky-doc-tools: Remove unnecessary autotools usage and simplfy structure
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
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) | ||