diff options
author | Beth Flanagan <elizabeth.flanagan@intel.com> | 2011-06-02 10:18:35 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-13 22:38:03 +0100 |
commit | 37eedd0ae3593f759a5e9e70e9dc1191171e09d0 (patch) | |
tree | ca2ae81c1163b3bdd7763d2e0dfcc5df282e5b72 /documentation/kernel-manual | |
parent | baf6bf4a5de176a5ad0fbaf436134c767eeed9ac (diff) | |
download | poky-37eedd0ae3593f759a5e9e70e9dc1191171e09d0.tar.gz |
documentation: [YOCTO #1025] build system for docs
These changes fix the following issues:
1. Multiple Makefiles. There really is no need for this.
2. Unable to maintain more than one version of the docs on the webserver.
This is a quick fix to enable the above.
In order to build the documentation, at the top level, issue a:
make all DOC=<doc directory name>
make all DOC=kernel-manual
Also, some changes need to occur on the webserver to fully
incorporate these fixes.
http://www.yoctoproject.org/documentation/
The docs are now published to:
http://www.yoctoproject.org/docs/<Release MM.mm>/<doc name>
The main page should be changed to point not only to the current doc release,
but also to the prior releases. This will enable us to maintain prior release
documentation without stomping over it when we publish new docs. Also, we'll
need to repoint the yocto-quick-start link to yocto-project-qs. Or rename
documentation/yocto-project-qs/* to support the website naming.
(From yocto-docs rev: 2651790d80fd32cd4619eeb5375f6ee28e7e7fda)
Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/kernel-manual')
-rw-r--r-- | documentation/kernel-manual/Makefile | 38 | ||||
-rw-r--r-- | documentation/kernel-manual/kernel-manual-customization.xsl (renamed from documentation/kernel-manual/yocto-project-kernel-manual-customization.xsl) | 0 |
2 files changed, 0 insertions, 38 deletions
diff --git a/documentation/kernel-manual/Makefile b/documentation/kernel-manual/Makefile deleted file mode 100644 index b691da8111..0000000000 --- a/documentation/kernel-manual/Makefile +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | XSLTOPTS = --stringparam html.stylesheet style.css \ | ||
2 | --stringparam chapter.autolabel 1 \ | ||
3 | --stringparam appendix.autolabel A \ | ||
4 | --stringparam section.autolabel 1 \ | ||
5 | --stringparam section.label.includes.component.label 1 \ | ||
6 | --xinclude | ||
7 | |||
8 | ## | ||
9 | # These URI should be rewritten by your distribution's xml catalog to | ||
10 | # match your localy installed XSL stylesheets. | ||
11 | XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current | ||
12 | XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl | ||
13 | |||
14 | all: html pdf tarball | ||
15 | |||
16 | pdf: | ||
17 | ../tools/poky-docbook-to-pdf kernel-manual.xml ../template | ||
18 | |||
19 | html: | ||
20 | # See http://www.sagehill.net/docbookxsl/HtmlOutput.html | ||
21 | xsltproc $(XSLTOPTS) -o kernel-manual.html yocto-project-kernel-manual-customization.xsl kernel-manual.xml | ||
22 | |||
23 | tarball: html | ||
24 | tar -cvzf kernel-manual.tgz kernel-manual.html kernel-manual.pdf style.css figures/kernel-title.png figures/kernel-architecture-overview.png | ||
25 | |||
26 | validate: | ||
27 | xmllint --postvalid --xinclude --noout kernel-manual.xml | ||
28 | |||
29 | MANUALS = kernel-manual.html kernel-manual.pdf | ||
30 | FIGURES = figures/*.png | ||
31 | STYLESHEET = *.css | ||
32 | |||
33 | publish: | ||
34 | scp -r $(MANUALS) $(STYLESHEET) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/kernel-manual | ||
35 | scp -r $(FIGURES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/kernel-manual/figures | ||
36 | |||
37 | clean: | ||
38 | rm -f $(OUTPUTS) | ||
diff --git a/documentation/kernel-manual/yocto-project-kernel-manual-customization.xsl b/documentation/kernel-manual/kernel-manual-customization.xsl index 8eb69050ba..8eb69050ba 100644 --- a/documentation/kernel-manual/yocto-project-kernel-manual-customization.xsl +++ b/documentation/kernel-manual/kernel-manual-customization.xsl | |||