summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2011-05-06 17:04:40 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-09 14:17:39 +0100
commitec7059cd4c6807a68e065b579dd0192fda891d7d (patch)
tree2919cbc8be68a4ca7ef25a94c8c4434829b393ce
parent7adc70b008209707d7f2a2b6490c35e10c281940 (diff)
downloadpoky-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/Makefile12
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
29tarball: html 29tarball: 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
32validate: 32validate:
33 xmllint --postvalid --xinclude --noout adt-manual.xml 33 xmllint --postvalid --xinclude --noout adt-manual.xml
34 34
35OUTPUTS = adt-manual.tgz adt-manual.html adt-manual.pdf 35MANUALS = adt-manual.html adt-manual.pdf
36SOURCES = *.png *.xml *.css 36FIGURES = figures/*.png
37STYLESHEET = *.css
37 38
38publish: 39publish:
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
41clean: 43clean:
42 rm -f $(OUTPUTS) 44 rm -f $(MANUALS)