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>
This commit is contained in:
Scott Rifenbark 2011-05-09 10:44:56 -05:00 committed by Richard Purdie
parent 35751b9396
commit f7b1705ef3
1 changed files with 6 additions and 4 deletions

View File

@ -2,7 +2,7 @@ XSLTOPTS = --stringparam html.stylesheet style.css \
--stringparam chapter.autolabel 1 \
--stringparam section.autolabel 1 \
--stringparam section.label.includes.component.label 1 \
--xinclude
--xinclude
##
# These URI should be rewritten by your distribution's xml catalog to
@ -25,11 +25,13 @@ tarball: html
validate:
xmllint --postvalid --xinclude --noout bsp-guide.xml
OUTPUTS = bsp-guide.pdf bsp-guide.html
SOURCES = *.png *.xml *.css *.svg
MANUALS = bsp-guide.html bsp-guide.pdf
FIGURES = figures/*.png
STYLESHEET = *.css
publish:
scp -r $(OUTPUTS) $(SOURCES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-doc/bsp-guide
scp -r $(MANUALS) $(STYLESHEET) srifenbark@www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/bsp-guide
scp -r $(FIGURES) srifenbark@www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/bsp-guide/figures
clean:
rm -f $(OUTPUTS)