diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2011-05-06 17:04:40 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-09 14:17:39 +0100 |
commit | ec7059cd4c6807a68e065b579dd0192fda891d7d (patch) | |
tree | 2919cbc8be68a4ca7ef25a94c8c4434829b393ce | |
parent | 7adc70b008209707d7f2a2b6490c35e10c281940 (diff) | |
download | poky-ec7059cd4c6807a68e065b579dd0192fda891d7d.tar.gz |
documentation/adt-manual/Makefile: BUGID#_956 - Changes to push to website
Several changes made so that the HTML and PDF files as well as the
CSS style sheet and any PNG figures get published to the Yocto
Project website in the ADT Manual directory. This fixes BUGID#_956
regarding the ADT Manual.
(From yocto-docs rev: 4dde2130b6ee6816f2cf012fc488c972bdd668c1)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/adt-manual/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/documentation/adt-manual/Makefile b/documentation/adt-manual/Makefile index 560913a69d..d34d3a173f 100644 --- a/documentation/adt-manual/Makefile +++ b/documentation/adt-manual/Makefile | |||
@@ -27,16 +27,18 @@ html: | |||
27 | xsltproc $(XSLTOPTS) -o adt-manual.html adt-manual-customization.xsl adt-manual.xml | 27 | xsltproc $(XSLTOPTS) -o adt-manual.html adt-manual-customization.xsl adt-manual.xml |
28 | 28 | ||
29 | tarball: html | 29 | tarball: html |
30 | tar -cvzf adt-manual.tgz adt-manual.html adt-manual.pdf style.css figures/adt-title.png figures/yocto-project-transp.png | 30 | tar -cvzf adt-manual.tgz adt-manual.html adt-manual.pdf style.css figures/adt-title.png |
31 | 31 | ||
32 | validate: | 32 | validate: |
33 | xmllint --postvalid --xinclude --noout adt-manual.xml | 33 | xmllint --postvalid --xinclude --noout adt-manual.xml |
34 | 34 | ||
35 | OUTPUTS = adt-manual.tgz adt-manual.html adt-manual.pdf | 35 | MANUALS = adt-manual.html adt-manual.pdf |
36 | SOURCES = *.png *.xml *.css | 36 | FIGURES = figures/*.png |
37 | STYLESHEET = *.css | ||
37 | 38 | ||
38 | publish: | 39 | publish: |
39 | scp -r $(OUTPUTS) $(SOURCES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-doc/adt-manual | 40 | scp -r $(MANUALS) $(STYLESHEET) srifenbark@www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/adt-manual |
41 | scp -r $(FIGURES) srifenbark@www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/adt-manual/figures | ||
40 | 42 | ||
41 | clean: | 43 | clean: |
42 | rm -f $(OUTPUTS) | 44 | rm -f $(MANUALS) |