diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2011-05-09 11:48:26 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-10 10:02:15 +0100 |
commit | 92690ef3cca0575fc84819129306b913c7e995df (patch) | |
tree | ed80993b3e42284fc08b977ef1f5776ddb12e7e7 /documentation | |
parent | 3c59043d1868f043eb993a29c1c1941ac19c1ffc (diff) | |
download | poky-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/Makefile | 10 |
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 | |||
26 | validate: | 26 | validate: |
27 | xmllint --postvalid --xinclude --noout poky-ref-manual.xml | 27 | xmllint --postvalid --xinclude --noout poky-ref-manual.xml |
28 | 28 | ||
29 | OUTPUTS = poky-ref-manual.tgz poky-ref-manual.html poky-ref-manual.pdf | 29 | MANUALS = poky-ref-manual.html poky-ref-manual.pdf |
30 | SOURCES = *.png *.xml *.css *.svg | 30 | FIGURES = figures/*.png |
31 | STYLESHEET = *.css | ||
31 | 32 | ||
32 | publish: | 33 | publish: |
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 | ||
35 | clean: | 37 | clean: |
36 | rm -f $(OUTPUTS) | 38 | rm -f $(OUTPUTS) |