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/Makefile58
1 files changed, 0 insertions, 58 deletions
diff --git a/documentation/bsp-guide/Makefile b/documentation/bsp-guide/Makefile
deleted file mode 100644
index 8071e348fb..0000000000
--- a/documentation/bsp-guide/Makefile
+++ /dev/null
@@ -1,58 +0,0 @@
1# You must call this Makefile using the following form:
2#
3# make
4# make html
5# make pdf
6# make tarball
7# make clean
8# make publish
9#
10# "make" creates the HTML, PDF, and tarballs.
11# "make html" creates just the HTML
12# "make pdf" creates just the PDF
13# "make tarball" creates the tarball
14# "make clean" removes the HTML and PDF files
15# "make publish" pushes the HTML, PDF, figures, and stylesheet to the web server
16#
17
18XSLTOPTS = --stringparam html.stylesheet style.css \
19 --stringparam chapter.autolabel 1 \
20 --stringparam section.autolabel 1 \
21 --stringparam section.label.includes.component.label 1 \
22 --xinclude
23
24VER = 1.0
25DOC = bsp-guide
26ALLPREQ = html pdf tarball
27TARFILES = bsp-guide.html bsp-guide.pdf style.css figures/bsp-title.png
28MANUALS = $(DOC).html $(DOC).pdf
29FIGURES = figures
30STYLESHEET = *.css
31
32##
33# These URI should be rewritten by your distribution's xml catalog to
34# match your localy installed XSL stylesheets.
35XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current
36XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl
37
38all: html pdf tarball
39
40pdf:
41 ../tools/poky-docbook-to-pdf bsp-guide.xml ../template
42
43html:
44# See http://www.sagehill.net/docbookxsl/HtmlOutput.html
45 xsltproc $(XSLTOPTS) -o bsp-guide.html bsp-guide-customization.xsl bsp-guide.xml
46
47tarball: html
48 cd $(DOC); tar -cvzf $(DOC).tgz $(TARFILES); cd ..
49
50validate:
51 xmllint --postvalid --xinclude --noout bsp-guide.xml
52
53publish:
54 scp -r $(MANUALS) $(STYLESHEET) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC)
55 scp -r $(FIGURES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC)/figures
56
57clean:
58 rm -f $(MANUALS)