diff options
| -rw-r--r-- | documentation/Makefile | 84 | ||||
| -rw-r--r-- | documentation/adt-manual/Makefile | 44 | ||||
| -rw-r--r-- | documentation/bsp-guide/Makefile | 37 | ||||
| -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 | ||||
| -rw-r--r-- | documentation/poky-ref-manual/Makefile | 38 | ||||
| -rw-r--r-- | documentation/yocto-project-qs/Makefile | 34 |
7 files changed, 84 insertions, 191 deletions
diff --git a/documentation/Makefile b/documentation/Makefile new file mode 100644 index 0000000000..a22abb23c2 --- /dev/null +++ b/documentation/Makefile | |||
| @@ -0,0 +1,84 @@ | |||
| 1 | DISTROVERSION=1.1 | ||
| 2 | ifeq ($(DOC),bsp-guide) | ||
| 3 | XSLTOPTS = --stringparam html.stylesheet style.css \ | ||
| 4 | --stringparam chapter.autolabel 1 \ | ||
| 5 | --stringparam section.autolabel 1 \ | ||
| 6 | --stringparam section.label.includes.component.label 1 \ | ||
| 7 | --xinclude | ||
| 8 | ALLPREQ = html pdf tarball | ||
| 9 | TARFILES = style.css bsp-guide.html bsp-guide.pdf figures/bsp-title.png | ||
| 10 | endif | ||
| 11 | |||
| 12 | ifeq ($(DOC),yocto-project-qs) | ||
| 13 | XSLTOPTS = --stringparam html.stylesheet style.css \ | ||
| 14 | --xinclude | ||
| 15 | ALLPREQ = html tarball | ||
| 16 | TARFILES = yocto-project-qs.html style.css figures/yocto-environment.png figures/building-an-image.png figures/using-a-pre-built-image.png figures/yocto-project-transp.png | ||
| 17 | endif | ||
| 18 | |||
| 19 | ifeq ($(DOC),poky-ref-manual) | ||
| 20 | XSLTOPTS = --stringparam html.stylesheet style.css \ | ||
| 21 | --stringparam chapter.autolabel 1 \ | ||
| 22 | --stringparam appendix.autolabel A \ | ||
| 23 | --stringparam section.autolabel 1 \ | ||
| 24 | --stringparam section.label.includes.component.label 1 \ | ||
| 25 | --xinclude | ||
| 26 | ALLPREQ = html pdf tarball | ||
| 27 | TARFILES = poky-ref-manual.html style.css figures/poky-title.png figures/ss-sato.png | ||
| 28 | endif | ||
| 29 | |||
| 30 | |||
| 31 | ifeq ($(DOC),adt-manual) | ||
| 32 | XSLTOPTS = --stringparam html.stylesheet style.css \ | ||
| 33 | --stringparam chapter.autolabel 1 \ | ||
| 34 | --stringparam appendix.autolabel A \ | ||
| 35 | --stringparam section.autolabel 1 \ | ||
| 36 | --stringparam section.label.includes.component.label 1 \ | ||
| 37 | --xinclude | ||
| 38 | ALLPREQ = html pdf tarball | ||
| 39 | TARFILES = adt-manual.html adt-manual.pdf style.css figures/adt-title.png | ||
| 40 | endif | ||
| 41 | |||
| 42 | ifeq ($(DOC),kernel-manual) | ||
| 43 | XSLTOPTS = --stringparam html.stylesheet style.css \ | ||
| 44 | --stringparam chapter.autolabel 1 \ | ||
| 45 | --stringparam appendix.autolabel A \ | ||
| 46 | --stringparam section.autolabel 1 \ | ||
| 47 | --stringparam section.label.includes.component.label 1 \ | ||
| 48 | --xinclude | ||
| 49 | ALLPREQ = html pdf tarball | ||
| 50 | TARFILES = kernel-manual.html kernel-manual.pdf style.css figures/kernel-title.png figures/kernel-architecture-overview.png | ||
| 51 | endif | ||
| 52 | |||
| 53 | |||
| 54 | ## | ||
| 55 | # These URI should be rewritten by your distribution's xml catalog to | ||
| 56 | # match your localy installed XSL stylesheets. | ||
| 57 | XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current | ||
| 58 | XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl | ||
| 59 | |||
| 60 | all: $(ALLPREQ) | ||
| 61 | |||
| 62 | pdf: | ||
| 63 | cd $(DOC); ../tools/poky-docbook-to-pdf $(DOC).xml ../template; cd .. | ||
| 64 | |||
| 65 | html: | ||
| 66 | # See http://www.sagehill.net/docbookxsl/HtmlOutput.html | ||
| 67 | cd $(DOC); xsltproc $(XSLTOPTS) -o $(DOC).html $(DOC)-customization.xsl $(DOC).xml; cd .. | ||
| 68 | |||
| 69 | tarball: html | ||
| 70 | cd $(DOC); tar -cvzf $(DOC).tgz $(TARFILES); cd .. | ||
| 71 | |||
| 72 | validate: | ||
| 73 | cd $(DOC); xmllint --postvalid --xinclude --noout $(DOC).xml; cd .. | ||
| 74 | |||
| 75 | MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf | ||
| 76 | FIGURES = $(DOC)/figures/*.png | ||
| 77 | STYLESHEET = *.css | ||
| 78 | |||
| 79 | publish: | ||
| 80 | scp -r $(MANUALS) $(STYLESHEET) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(DISTROVERSION)/$(DOC) | ||
| 81 | scp -r $(FIGURES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(DISTROVERSION)/$(DOC)/figures | ||
| 82 | |||
| 83 | clean: | ||
| 84 | rm -f $(MANUALS) | ||
diff --git a/documentation/adt-manual/Makefile b/documentation/adt-manual/Makefile deleted file mode 100644 index fe16a57f35..0000000000 --- a/documentation/adt-manual/Makefile +++ /dev/null | |||
| @@ -1,44 +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 adt-manual.xml ../template | ||
| 18 | |||
| 19 | ## | ||
| 20 | # These URI should be rewritten by your distribution's xml catalog to | ||
| 21 | # match your localy installed XSL stylesheets. | ||
| 22 | |||
| 23 | html: | ||
| 24 | # See http://www.sagehill.net/docbookxsl/HtmlOutput.html | ||
| 25 | |||
| 26 | # xsltproc $(XSLTOPTS) -o adt-manual.html $(XSL_XHTML_URI) adt-manual.xml | ||
| 27 | xsltproc $(XSLTOPTS) -o adt-manual.html adt-manual-customization.xsl adt-manual.xml | ||
| 28 | |||
| 29 | tarball: html | ||
| 30 | tar -cvzf adt-manual.tgz adt-manual.html adt-manual.pdf style.css figures/adt-title.png | ||
| 31 | |||
| 32 | validate: | ||
| 33 | xmllint --postvalid --xinclude --noout adt-manual.xml | ||
| 34 | |||
| 35 | MANUALS = adt-manual.html adt-manual.pdf | ||
| 36 | FIGURES = figures/*.png | ||
| 37 | STYLESHEET = *.css | ||
| 38 | |||
| 39 | publish: | ||
| 40 | scp -r $(MANUALS) $(STYLESHEET) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/adt-manual | ||
| 41 | scp -r $(FIGURES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/adt-manual/figures | ||
| 42 | |||
| 43 | clean: | ||
| 44 | rm -f $(MANUALS) | ||
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 @@ | |||
| 1 | XSLTOPTS = --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. | ||
| 10 | XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current | ||
| 11 | XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl | ||
| 12 | |||
| 13 | all: html pdf tarball | ||
| 14 | |||
| 15 | pdf: | ||
| 16 | ../tools/poky-docbook-to-pdf bsp-guide.xml ../template | ||
| 17 | |||
| 18 | html: | ||
| 19 | # See http://www.sagehill.net/docbookxsl/HtmlOutput.html | ||
| 20 | xsltproc $(XSLTOPTS) -o bsp-guide.html bsp-guide-customization.xsl bsp-guide.xml | ||
| 21 | |||
| 22 | tarball: html | ||
| 23 | tar -cvzf bsp-guide.tgz style.css bsp-guide.html bsp-guide.pdf figures/bsp-title.png | ||
| 24 | |||
| 25 | validate: | ||
| 26 | xmllint --postvalid --xinclude --noout bsp-guide.xml | ||
| 27 | |||
| 28 | MANUALS = bsp-guide.html bsp-guide.pdf | ||
| 29 | FIGURES = figures/*.png | ||
| 30 | STYLESHEET = *.css | ||
| 31 | |||
| 32 | publish: | ||
| 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 | |||
| 36 | clean: | ||
| 37 | rm -f $(OUTPUTS) | ||
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 | |||
diff --git a/documentation/poky-ref-manual/Makefile b/documentation/poky-ref-manual/Makefile deleted file mode 100644 index bb70a05d87..0000000000 --- a/documentation/poky-ref-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 poky-ref-manual.xml ../template | ||
| 18 | |||
| 19 | html: | ||
| 20 | # See http://www.sagehill.net/docbookxsl/HtmlOutput.html | ||
| 21 | xsltproc $(XSLTOPTS) -o poky-ref-manual.html poky-ref-manual-customization.xsl poky-ref-manual.xml | ||
| 22 | |||
| 23 | tarball: html | ||
| 24 | tar -cvzf poky-ref-manual.tgz poky-ref-manual.html style.css figures/poky-title.png figures/ss-sato.png | ||
| 25 | |||
| 26 | validate: | ||
| 27 | xmllint --postvalid --xinclude --noout poky-ref-manual.xml | ||
| 28 | |||
| 29 | MANUALS = poky-ref-manual.html poky-ref-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/poky-ref-manual | ||
| 35 | scp -r $(FIGURES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/poky-ref-manual/figures | ||
| 36 | |||
| 37 | clean: | ||
| 38 | rm -f $(OUTPUTS) | ||
diff --git a/documentation/yocto-project-qs/Makefile b/documentation/yocto-project-qs/Makefile deleted file mode 100644 index 2c7bdf86a0..0000000000 --- a/documentation/yocto-project-qs/Makefile +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | XSLTOPTS = --stringparam html.stylesheet style.css \ | ||
| 2 | --xinclude | ||
| 3 | |||
| 4 | XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current | ||
| 5 | XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl | ||
| 6 | |||
| 7 | all: html tarball | ||
| 8 | |||
| 9 | ## | ||
| 10 | # These URI should be rewritten by your distribution's xml catalog to | ||
| 11 | # match your localy installed XSL stylesheets. | ||
| 12 | |||
| 13 | html: | ||
| 14 | # See http://www.sagehill.net/docbookxsl/HtmlOutput.html | ||
| 15 | |||
| 16 | # xsltproc $(XSLTOPTS) -o yocto-project-qs.html $(XSL_XHTML_URI) yocto-project-qs.xml | ||
| 17 | xsltproc $(XSLTOPTS) -o yocto-project-qs.html yocto-project-qs-customization.xsl yocto-project-qs.xml | ||
| 18 | |||
| 19 | tarball: html | ||
| 20 | tar -cvzf yocto-project-qs.tgz yocto-project-qs.html style.css figures/yocto-environment.png figures/building-an-image.png figures/using-a-pre-built-image.png figures/yocto-project-transp.png | ||
| 21 | |||
| 22 | validate: | ||
| 23 | xmllint --postvalid --xinclude --noout yocto-project-qs.xml | ||
| 24 | |||
| 25 | MANUALS = yocto-project-qs.html | ||
| 26 | FIGURES = figures/*.png | ||
| 27 | STYLESHEET = *.css | ||
| 28 | |||
| 29 | publish: | ||
| 30 | scp -r $(MANUALS) $(STYLESHEET) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/yocto-quick-start | ||
| 31 | scp -r $(FIGURES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/yocto-quick-start/figures | ||
| 32 | |||
| 33 | clean: | ||
| 34 | rm -f $(MANUALS) | ||
