summaryrefslogtreecommitdiffstats
path: root/documentation/poky-ref-manual/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/poky-ref-manual/Makefile')
-rw-r--r--documentation/poky-ref-manual/Makefile61
1 files changed, 0 insertions, 61 deletions
diff --git a/documentation/poky-ref-manual/Makefile b/documentation/poky-ref-manual/Makefile
deleted file mode 100644
index eff947c6ee..0000000000
--- a/documentation/poky-ref-manual/Makefile
+++ /dev/null
@@ -1,61 +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 appendix.autolabel A \
21 --stringparam section.autolabel 1 \
22 --stringparam section.label.includes.component.label 1 \
23 --xinclude
24
25VER = 1.0
26DOC = poky-ref-manual
27ALLPREQ = html pdf tarball
28TARFILES = poky-ref-manual.html poky-ref-manual.pdf style.css figures/yocto-project-transp.png figures/poky-ref-manual.png screenshots/ss-sato.png
29MANUALS = $(DOC).html $(DOC).pdf
30FIGURES = figures
31SCREENSHOTS = screenshots
32STYLESHEET = *.css
33
34##
35# These URI should be rewritten by your distribution's xml catalog to
36# match your localy installed XSL stylesheets.
37XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current
38XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl
39
40all: html pdf tarball
41
42pdf:
43 ../tools/poky-docbook-to-pdf poky-ref-manual.xml ../template
44
45html:
46# See http://www.sagehill.net/docbookxsl/HtmlOutput.html
47 xsltproc $(XSLTOPTS) -o poky-ref-manual.html poky-ref-manual-customization.xsl poky-ref-manual.xml
48
49tarball: html
50 cd $(DOC); tar -cvzf $(DOC).tgz $(TARFILES); cd ..
51
52validate:
53 xmllint --postvalid --xinclude --noout poky-ref-manual.xml
54
55publish:
56 scp -r $(MANUALS) $(STYLESHEET) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC)
57 scp -r $(FIGURES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC)/figures
58 scp -r $(SCREENSHOTS) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC)/screenshots
59
60clean:
61 rm -f $(MANUALS)