diff options
Diffstat (limited to 'documentation/yocto-project-qs/Makefile')
| -rw-r--r-- | documentation/yocto-project-qs/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/documentation/yocto-project-qs/Makefile b/documentation/yocto-project-qs/Makefile new file mode 100644 index 0000000000..9f45058c51 --- /dev/null +++ b/documentation/yocto-project-qs/Makefile | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | XSLTOPTS = --stringparam html.stylesheet style.css \ | ||
| 2 | --xinclude | ||
| 3 | |||
| 4 | XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current | ||
| 5 | XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl | ||
| 6 | |||
| 7 | all: html tarball | ||
| 8 | |||
| 9 | ## | ||
| 10 | # These URI should be rewritten by your distribution's xml catalog to | ||
| 11 | # match your localy installed XSL stylesheets. | ||
| 12 | |||
| 13 | html: | ||
| 14 | # See http://www.sagehill.net/docbookxsl/HtmlOutput.html | ||
| 15 | |||
| 16 | # xsltproc $(XSLTOPTS) -o yocto-project-qs.html $(XSL_XHTML_URI) yocto-project-qs.xml | ||
| 17 | xsltproc $(XSLTOPTS) -o yocto-project-qs.html yocto-project-qs-customization.xsl yocto-project-qs.xml | ||
| 18 | |||
| 19 | tarball: html | ||
| 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 | |||
| 22 | validate: | ||
| 23 | xmllint --postvalid --xinclude --noout yocto-project-qs.xml | ||
| 24 | |||
| 25 | OUTPUTS = yocto-project-qs.tgz yocto-project-qs.html | ||
| 26 | SOURCES = *.png *.xml *.css | ||
| 27 | |||
| 28 | publish: | ||
| 29 | scp -r $(OUTPUTS) $(SOURCES) o-hand.com:/srv/www/pokylinux.org/doc/ | ||
| 30 | |||
| 31 | clean: | ||
| 32 | rm -f $(OUTPUTS) | ||
