diff options
Diffstat (limited to 'documentation/poky-ref-manual/Makefile')
-rw-r--r-- | documentation/poky-ref-manual/Makefile | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/documentation/poky-ref-manual/Makefile b/documentation/poky-ref-manual/Makefile deleted file mode 100644 index bb70a05d87..0000000000 --- a/documentation/poky-ref-manual/Makefile +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | XSLTOPTS = --stringparam html.stylesheet style.css \ | ||
2 | --stringparam chapter.autolabel 1 \ | ||
3 | --stringparam appendix.autolabel A \ | ||
4 | --stringparam section.autolabel 1 \ | ||
5 | --stringparam section.label.includes.component.label 1 \ | ||
6 | --xinclude | ||
7 | |||
8 | ## | ||
9 | # These URI should be rewritten by your distribution's xml catalog to | ||
10 | # match your localy installed XSL stylesheets. | ||
11 | XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current | ||
12 | XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl | ||
13 | |||
14 | all: html pdf tarball | ||
15 | |||
16 | pdf: | ||
17 | ../tools/poky-docbook-to-pdf poky-ref-manual.xml ../template | ||
18 | |||
19 | html: | ||
20 | # See http://www.sagehill.net/docbookxsl/HtmlOutput.html | ||
21 | xsltproc $(XSLTOPTS) -o poky-ref-manual.html poky-ref-manual-customization.xsl poky-ref-manual.xml | ||
22 | |||
23 | tarball: html | ||
24 | tar -cvzf poky-ref-manual.tgz poky-ref-manual.html style.css figures/poky-title.png figures/ss-sato.png | ||
25 | |||
26 | validate: | ||
27 | xmllint --postvalid --xinclude --noout poky-ref-manual.xml | ||
28 | |||
29 | MANUALS = poky-ref-manual.html poky-ref-manual.pdf | ||
30 | FIGURES = figures/*.png | ||
31 | STYLESHEET = *.css | ||
32 | |||
33 | publish: | ||
34 | scp -r $(MANUALS) $(STYLESHEET) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/poky-ref-manual | ||
35 | scp -r $(FIGURES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/poky-ref-manual/figures | ||
36 | |||
37 | clean: | ||
38 | rm -f $(OUTPUTS) | ||