BUGID#_956: documenation/poky-ref-manual/Makefile: Updated publish
BUGID#_956: I updated the publish option so that the HTML and PDF versions of the manual are automatically pushed to the Yocto Project website. This fix takes care of BUGID#_956 for the Poky Reference Manual. (From yocto-docs rev: aed87d15ce9df0835b704fda1e9d8f464d070e32) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
3c59043d18
commit
92690ef3cc
|
@ -3,7 +3,7 @@ XSLTOPTS = --stringparam html.stylesheet style.css \
|
|||
--stringparam appendix.autolabel A \
|
||||
--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
|
||||
|
@ -26,11 +26,13 @@ tarball: html
|
|||
validate:
|
||||
xmllint --postvalid --xinclude --noout poky-ref-manual.xml
|
||||
|
||||
OUTPUTS = poky-ref-manual.tgz poky-ref-manual.html poky-ref-manual.pdf
|
||||
SOURCES = *.png *.xml *.css *.svg
|
||||
MANUALS = poky-ref-manual.html poky-ref-manual.pdf
|
||||
FIGURES = figures/*.png
|
||||
STYLESHEET = *.css
|
||||
|
||||
publish:
|
||||
scp -r $(OUTPUTS) $(SOURCES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-doc/poky-ref-manual
|
||||
scp -r $(MANUALS) $(STYLESHEET) srifenbark@www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/poky-ref-manual
|
||||
scp -r $(FIGURES) srifenbark@www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/poky-ref-manual/figures
|
||||
|
||||
clean:
|
||||
rm -f $(OUTPUTS)
|
||||
|
|
Loading…
Reference in New Issue