summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2011-05-06 17:48:11 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-09 14:17:41 +0100
commitf285547a3820f394f7dd9dd974f876353d4ddc6c (patch)
tree907c5430b45aadd62225273b330633878b4b0aae
parent660fb42f86604ba745918952db742accd1b9df4b (diff)
downloadpoky-f285547a3820f394f7dd9dd974f876353d4ddc6c.tar.gz
documentation/yocto-project-qs/Makefile: BUGID#_956 - Modified Publish
Fixed the makes file so that the HTML file and the CSS file are automatically published to the appropriate directory in the Yocto Project website. Also the PNG files (4) are published to the directory's 'figures' folder. This fixes BUGID#_956 for the Quick Start manual. (From yocto-docs rev: e315f2ca65c5003e2ad02bd89f0850a79dc548bf) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/yocto-project-qs/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/documentation/yocto-project-qs/Makefile b/documentation/yocto-project-qs/Makefile
index 41c35e11a9..ad209f1148 100644
--- a/documentation/yocto-project-qs/Makefile
+++ b/documentation/yocto-project-qs/Makefile
@@ -17,16 +17,18 @@ html:
17 xsltproc $(XSLTOPTS) -o yocto-project-qs.html yocto-project-qs-customization.xsl yocto-project-qs.xml 17 xsltproc $(XSLTOPTS) -o yocto-project-qs.html yocto-project-qs-customization.xsl yocto-project-qs.xml
18 18
19tarball: html 19tarball: html
20 tar -cvzf yocto-project-qs.tgz yocto-project-qs.html ypqs.pdf style.css figures/yocto-environment.png figures/building-an-image.png figures/using-a-pre-built-image.png figures/yocto-project-transp.png 20 tar -cvzf yocto-project-qs.tgz yocto-project-qs.html style.css figures/yocto-environment.png figures/building-an-image.png figures/using-a-pre-built-image.png figures/yocto-project-transp.png
21 21
22validate: 22validate:
23 xmllint --postvalid --xinclude --noout yocto-project-qs.xml 23 xmllint --postvalid --xinclude --noout yocto-project-qs.xml
24 24
25OUTPUTS = yocto-project-qs.tgz yocto-project-qs.html ypqs.pdf 25MANUALS = yocto-project-qs.html
26SOURCES = *.png *.xml *.css 26FIGURES = figures/*.png
27STYLESHEET = *.css
27 28
28publish: 29publish:
29 scp -r $(OUTPUTS) $(SOURCES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-doc/yocto-quick-start 30 scp -r $(MANUALS) $(STYLESHEET) srifenbark@www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/yocto-quick-start
31 scp -r $(FIGURES) srifenbark@www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/yocto-quick-start/figures
30 32
31clean: 33clean:
32 rm -f $(OUTPUTS) 34 rm -f $(MANUALS)