diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2011-05-09 10:44:56 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-10 10:02:14 +0100 |
commit | f7b1705ef38212dd59a568b4afaca56c2402d825 (patch) | |
tree | 73f5e7847c5ab0560cbfe9083ac934bdc42e0cbf /documentation | |
parent | 35751b939697e81cbc4fc7fb6026094c5c2090ce (diff) | |
download | poky-f7b1705ef38212dd59a568b4afaca56c2402d825.tar.gz |
BUGID#_956 - documentation/bsp-guide/Makefile: Updated for publish process
BUGID#_956: I updated the Make file so that it will push the HTML and PDF files
automatically to the yocto project site. This takes care of
BUGID#_956 for the BSP Guide.
(From yocto-docs rev: 684f1836056c977c08a27a0a80d622e360977919)
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/bsp-guide/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/documentation/bsp-guide/Makefile b/documentation/bsp-guide/Makefile index af802b1dc4..5b24404ca0 100644 --- a/documentation/bsp-guide/Makefile +++ b/documentation/bsp-guide/Makefile | |||
@@ -2,7 +2,7 @@ XSLTOPTS = --stringparam html.stylesheet style.css \ | |||
2 | --stringparam chapter.autolabel 1 \ | 2 | --stringparam chapter.autolabel 1 \ |
3 | --stringparam section.autolabel 1 \ | 3 | --stringparam section.autolabel 1 \ |
4 | --stringparam section.label.includes.component.label 1 \ | 4 | --stringparam section.label.includes.component.label 1 \ |
5 | --xinclude | 5 | --xinclude |
6 | 6 | ||
7 | ## | 7 | ## |
8 | # These URI should be rewritten by your distribution's xml catalog to | 8 | # These URI should be rewritten by your distribution's xml catalog to |
@@ -25,11 +25,13 @@ tarball: html | |||
25 | validate: | 25 | validate: |
26 | xmllint --postvalid --xinclude --noout bsp-guide.xml | 26 | xmllint --postvalid --xinclude --noout bsp-guide.xml |
27 | 27 | ||
28 | OUTPUTS = bsp-guide.pdf bsp-guide.html | 28 | MANUALS = bsp-guide.html bsp-guide.pdf |
29 | SOURCES = *.png *.xml *.css *.svg | 29 | FIGURES = figures/*.png |
30 | STYLESHEET = *.css | ||
30 | 31 | ||
31 | publish: | 32 | publish: |
32 | scp -r $(OUTPUTS) $(SOURCES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-doc/bsp-guide | 33 | scp -r $(MANUALS) $(STYLESHEET) srifenbark@www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/bsp-guide |
34 | scp -r $(FIGURES) srifenbark@www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/bsp-guide/figures | ||
33 | 35 | ||
34 | clean: | 36 | clean: |
35 | rm -f $(OUTPUTS) | 37 | rm -f $(OUTPUTS) |