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