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