summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2011-05-09 11:48:26 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-10 10:02:15 +0100
commit92690ef3cca0575fc84819129306b913c7e995df (patch)
treeed80993b3e42284fc08b977ef1f5776ddb12e7e7 /documentation
parent3c59043d1868f043eb993a29c1c1941ac19c1ffc (diff)
downloadpoky-92690ef3cca0575fc84819129306b913c7e995df.tar.gz
BUGID#_956: documenation/poky-ref-manual/Makefile: Updated publish
BUGID#_956: I updated the publish option so that the HTML and PDF versions of the manual are automatically pushed to the Yocto Project website. This fix takes care of BUGID#_956 for the Poky Reference Manual. (From yocto-docs rev: aed87d15ce9df0835b704fda1e9d8f464d070e32) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/poky-ref-manual/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/documentation/poky-ref-manual/Makefile b/documentation/poky-ref-manual/Makefile
index 82ac880a74..3e4bec3f7c 100644
--- a/documentation/poky-ref-manual/Makefile
+++ b/documentation/poky-ref-manual/Makefile
@@ -3,7 +3,7 @@ XSLTOPTS = --stringparam html.stylesheet style.css \
3 --stringparam appendix.autolabel A \ 3 --stringparam appendix.autolabel A \
4 --stringparam section.autolabel 1 \ 4 --stringparam section.autolabel 1 \
5 --stringparam section.label.includes.component.label 1 \ 5 --stringparam section.label.includes.component.label 1 \
6 --xinclude 6 --xinclude
7 7
8## 8##
9# These URI should be rewritten by your distribution's xml catalog to 9# These URI should be rewritten by your distribution's xml catalog to
@@ -26,11 +26,13 @@ tarball: html
26validate: 26validate:
27 xmllint --postvalid --xinclude --noout poky-ref-manual.xml 27 xmllint --postvalid --xinclude --noout poky-ref-manual.xml
28 28
29OUTPUTS = poky-ref-manual.tgz poky-ref-manual.html poky-ref-manual.pdf 29MANUALS = poky-ref-manual.html poky-ref-manual.pdf
30SOURCES = *.png *.xml *.css *.svg 30FIGURES = figures/*.png
31STYLESHEET = *.css
31 32
32publish: 33publish:
33 scp -r $(OUTPUTS) $(SOURCES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-doc/poky-ref-manual 34 scp -r $(MANUALS) $(STYLESHEET) srifenbark@www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/poky-ref-manual
35 scp -r $(FIGURES) srifenbark@www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/poky-ref-manual/figures
34 36
35clean: 37clean:
36 rm -f $(OUTPUTS) 38 rm -f $(OUTPUTS)