diff options
Diffstat (limited to 'documentation/adt-manual/Makefile')
| -rw-r--r-- | documentation/adt-manual/Makefile | 12 |
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 | ||
| 29 | tarball: html | 29 | tarball: 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 | ||
| 32 | validate: | 32 | validate: |
| 33 | xmllint --postvalid --xinclude --noout adt-manual.xml | 33 | xmllint --postvalid --xinclude --noout adt-manual.xml |
| 34 | 34 | ||
| 35 | OUTPUTS = adt-manual.tgz adt-manual.html adt-manual.pdf | 35 | MANUALS = adt-manual.html adt-manual.pdf |
| 36 | SOURCES = *.png *.xml *.css | 36 | FIGURES = figures/*.png |
| 37 | STYLESHEET = *.css | ||
| 37 | 38 | ||
| 38 | publish: | 39 | publish: |
| 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 | ||
| 41 | clean: | 43 | clean: |
| 42 | rm -f $(OUTPUTS) | 44 | rm -f $(MANUALS) |
