diff options
Diffstat (limited to 'documentation/kernel-manual/Makefile')
-rw-r--r-- | documentation/kernel-manual/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/documentation/kernel-manual/Makefile b/documentation/kernel-manual/Makefile new file mode 100644 index 0000000000..701bddfa77 --- /dev/null +++ b/documentation/kernel-manual/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-kernal-manual.html yocto-project-kernal-manual-customization.xsl yocto-project-kernal-manual.xml | ||
18 | |||
19 | tarball: html | ||
20 | tar -cvzf yocto-project-kernal-manual.tgz yocto-project-kernal-manual.html style.css figures/yocto-project-transp.png figures/kernel-big-picture.png figures/kernel-architecture-overview.png | ||
21 | |||
22 | validate: | ||
23 | xmllint --postvalid --xinclude --noout yocto-project-kernal-manual.xml | ||
24 | |||
25 | OUTPUTS = yocto-project-kernal-manual.tgz yocto-project-kernal-manual.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) | ||