summaryrefslogtreecommitdiffstats
path: root/documentation/bsp-guide/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/bsp-guide/Makefile')
-rw-r--r--documentation/bsp-guide/Makefile37
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 @@
1XSLTOPTS = --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.
10XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current
11XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl
12
13all: html pdf tarball
14
15pdf:
16 ../tools/poky-docbook-to-pdf bsp-guide.xml ../template
17
18html:
19# See http://www.sagehill.net/docbookxsl/HtmlOutput.html
20 xsltproc $(XSLTOPTS) -o bsp-guide.html bsp-guide-customization.xsl bsp-guide.xml
21
22tarball: html
23 tar -cvzf bsp-guide.tgz style.css bsp-guide.html bsp-guide.pdf figures/bsp-title.png
24
25validate:
26 xmllint --postvalid --xinclude --noout bsp-guide.xml
27
28MANUALS = bsp-guide.html bsp-guide.pdf
29FIGURES = figures/*.png
30STYLESHEET = *.css
31
32publish:
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
36clean:
37 rm -f $(OUTPUTS)