diff --git a/documentation/Makefile b/documentation/Makefile new file mode 100644 index 0000000000..a22abb23c2 --- /dev/null +++ b/documentation/Makefile @@ -0,0 +1,84 @@ +DISTROVERSION=1.1 +ifeq ($(DOC),bsp-guide) +XSLTOPTS = --stringparam html.stylesheet style.css \ + --stringparam chapter.autolabel 1 \ + --stringparam section.autolabel 1 \ + --stringparam section.label.includes.component.label 1 \ + --xinclude +ALLPREQ = html pdf tarball +TARFILES = style.css bsp-guide.html bsp-guide.pdf figures/bsp-title.png +endif + +ifeq ($(DOC),yocto-project-qs) +XSLTOPTS = --stringparam html.stylesheet style.css \ + --xinclude +ALLPREQ = html tarball +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 +endif + +ifeq ($(DOC),poky-ref-manual) +XSLTOPTS = --stringparam html.stylesheet style.css \ + --stringparam chapter.autolabel 1 \ + --stringparam appendix.autolabel A \ + --stringparam section.autolabel 1 \ + --stringparam section.label.includes.component.label 1 \ + --xinclude +ALLPREQ = html pdf tarball +TARFILES = poky-ref-manual.html style.css figures/poky-title.png figures/ss-sato.png +endif + + +ifeq ($(DOC),adt-manual) +XSLTOPTS = --stringparam html.stylesheet style.css \ + --stringparam chapter.autolabel 1 \ + --stringparam appendix.autolabel A \ + --stringparam section.autolabel 1 \ + --stringparam section.label.includes.component.label 1 \ + --xinclude +ALLPREQ = html pdf tarball +TARFILES = adt-manual.html adt-manual.pdf style.css figures/adt-title.png +endif + +ifeq ($(DOC),kernel-manual) +XSLTOPTS = --stringparam html.stylesheet style.css \ + --stringparam chapter.autolabel 1 \ + --stringparam appendix.autolabel A \ + --stringparam section.autolabel 1 \ + --stringparam section.label.includes.component.label 1 \ + --xinclude +ALLPREQ = html pdf tarball +TARFILES = kernel-manual.html kernel-manual.pdf style.css figures/kernel-title.png figures/kernel-architecture-overview.png +endif + + +## +# These URI should be rewritten by your distribution's xml catalog to +# match your localy installed XSL stylesheets. +XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current +XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl + +all: $(ALLPREQ) + +pdf: + cd $(DOC); ../tools/poky-docbook-to-pdf $(DOC).xml ../template; cd .. + +html: +# See http://www.sagehill.net/docbookxsl/HtmlOutput.html + cd $(DOC); xsltproc $(XSLTOPTS) -o $(DOC).html $(DOC)-customization.xsl $(DOC).xml; cd .. + +tarball: html + cd $(DOC); tar -cvzf $(DOC).tgz $(TARFILES); cd .. + +validate: + cd $(DOC); xmllint --postvalid --xinclude --noout $(DOC).xml; cd .. + +MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf +FIGURES = $(DOC)/figures/*.png +STYLESHEET = *.css + +publish: + scp -r $(MANUALS) $(STYLESHEET) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(DISTROVERSION)/$(DOC) + scp -r $(FIGURES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(DISTROVERSION)/$(DOC)/figures + +clean: + rm -f $(MANUALS) diff --git a/documentation/adt-manual/Makefile b/documentation/adt-manual/Makefile deleted file mode 100644 index f23de5c561..0000000000 --- a/documentation/adt-manual/Makefile +++ /dev/null @@ -1,64 +0,0 @@ -# You must call this Makefile using the following form: -# -# make -# make html -# make pdf -# make tarball -# make clean -# make publish -# -# "make" creates the HTML, PDF, and tarballs. -# "make html" creates just the HTML -# "make pdf" creates just the PDF -# "make tarball" creates the tarball -# "make clean" removes the HTML and PDF files -# "make publish" pushes the HTML, PDF, figures, and stylesheet to the web server -# - -XSLTOPTS = --stringparam html.stylesheet style.css \ - --stringparam chapter.autolabel 1 \ - --stringparam appendix.autolabel A \ - --stringparam section.autolabel 1 \ - --stringparam section.label.includes.component.label 1 \ - --xinclude -VER = 1.0 -DOC = adt-manual -ALLPREQ = html pdf tarball -TARFILES = adt-manual.html adt-manual.pdf style.css figures/adt-title.png -MANUALS = $(DOC).html $(DOC).pdf -FIGURES = figures -STYLESHEET = *.css - -## -# These URI should be rewritten by your distribution's xml catalog to -# match your localy installed XSL stylesheets. -XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current -XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl - -all: html pdf tarball - -pdf: - ../tools/poky-docbook-to-pdf adt-manual.xml ../template - -## -# These URI should be rewritten by your distribution's xml catalog to -# match your localy installed XSL stylesheets. - -html: -# See http://www.sagehill.net/docbookxsl/HtmlOutput.html - -# xsltproc $(XSLTOPTS) -o adt-manual.html $(XSL_XHTML_URI) adt-manual.xml - xsltproc $(XSLTOPTS) -o adt-manual.html adt-manual-customization.xsl adt-manual.xml - -tarball: html - cd $(DOC); tar -cvzf $(DOC).tgz $(TARFILES); cd .. - -validate: - xmllint --postvalid --xinclude --noout adt-manual.xml - -publish: - scp -r $(MANUALS) $(STYLESHEET) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC) - scp -r $(FIGURES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC)/figures - -clean: - rm -f $(MANUALS) 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 @@ -# You must call this Makefile using the following form: -# -# make -# make html -# make pdf -# make tarball -# make clean -# make publish -# -# "make" creates the HTML, PDF, and tarballs. -# "make html" creates just the HTML -# "make pdf" creates just the PDF -# "make tarball" creates the tarball -# "make clean" removes the HTML and PDF files -# "make publish" pushes the HTML, PDF, figures, and stylesheet to the web server -# - -XSLTOPTS = --stringparam html.stylesheet style.css \ - --stringparam chapter.autolabel 1 \ - --stringparam section.autolabel 1 \ - --stringparam section.label.includes.component.label 1 \ - --xinclude - -VER = 1.0 -DOC = bsp-guide -ALLPREQ = html pdf tarball -TARFILES = bsp-guide.html bsp-guide.pdf style.css figures/bsp-title.png -MANUALS = $(DOC).html $(DOC).pdf -FIGURES = figures -STYLESHEET = *.css - -## -# These URI should be rewritten by your distribution's xml catalog to -# match your localy installed XSL stylesheets. -XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current -XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl - -all: html pdf tarball - -pdf: - ../tools/poky-docbook-to-pdf bsp-guide.xml ../template - -html: -# See http://www.sagehill.net/docbookxsl/HtmlOutput.html - xsltproc $(XSLTOPTS) -o bsp-guide.html bsp-guide-customization.xsl bsp-guide.xml - -tarball: html - cd $(DOC); tar -cvzf $(DOC).tgz $(TARFILES); cd .. - -validate: - xmllint --postvalid --xinclude --noout bsp-guide.xml - -publish: - scp -r $(MANUALS) $(STYLESHEET) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC) - scp -r $(FIGURES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC)/figures - -clean: - rm -f $(MANUALS) 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 @@ -# You must call this Makefile using the following form: -# -# make -# make html -# make pdf -# make tarball -# make clean -# make publish -# -# "make" creates the HTML, PDF, and tarballs. -# "make html" creates just the HTML -# "make pdf" creates just the PDF -# "make tarball" creates the tarball -# "make clean" removes the HTML and PDF files -# "make publish" pushes the HTML, PDF, figures, and stylesheet to the web server -# - -XSLTOPTS = --stringparam html.stylesheet style.css \ - --stringparam chapter.autolabel 1 \ - --stringparam appendix.autolabel A \ - --stringparam section.autolabel 1 \ - --stringparam section.label.includes.component.label 1 \ - --xinclude - -VER = 1.0 -DOC = kernel-manual -ALLPREQ = html pdf tarball -TARFILES = kernel-manual.html kernel-manual.pdf style.css figures/kernel-title.png figures/kernel-architecture-overview.png -MANUALS = $(DOC).html $(DOC).pdf -FIGURES = figures -STYLESHEET = *.css - -## -# These URI should be rewritten by your distribution's xml catalog to -# match your localy installed XSL stylesheets. -XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current -XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl - -all: html pdf tarball - -pdf: - ../tools/poky-docbook-to-pdf kernel-manual.xml ../template - -## -# These URI should be rewritten by your distribution's xml catalog to -# match your localy installed XSL stylesheets. - -html: -# See http://www.sagehill.net/docbookxsl/HtmlOutput.html - -# xsltproc $(XSLTOPTS) -o yocto-project-qs.html $(XSL_XHTML_URI) yocto-project-qs.xml - xsltproc $(XSLTOPTS) -o kernel-manual.html yocto-project-kernel-manual-customization.xsl kernel-manual.xml - -tarball: html - cd $(DOC); tar -cvzf $(DOC).tgz $(TARFILES); cd .. - -validate: - xmllint --postvalid --xinclude --noout kernel-manual.xml - -publish: - scp -r $(MANUALS) $(STYLESHEET) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC) - scp -r $(FIGURES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC)/figures - -clean: - rm -f $(MANUALS) diff --git a/documentation/kernel-manual/yocto-project-kernel-manual-customization.xsl b/documentation/kernel-manual/kernel-manual-customization.xsl similarity index 100% rename from documentation/kernel-manual/yocto-project-kernel-manual-customization.xsl rename to 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 eff947c6ee..0000000000 --- a/documentation/poky-ref-manual/Makefile +++ /dev/null @@ -1,61 +0,0 @@ -# You must call this Makefile using the following form: -# -# make -# make html -# make pdf -# make tarball -# make clean -# make publish -# -# "make" creates the HTML, PDF, and tarballs. -# "make html" creates just the HTML -# "make pdf" creates just the PDF -# "make tarball" creates the tarball -# "make clean" removes the HTML and PDF files -# "make publish" pushes the HTML, PDF, figures, and stylesheet to the web server -# - -XSLTOPTS = --stringparam html.stylesheet style.css \ - --stringparam chapter.autolabel 1 \ - --stringparam appendix.autolabel A \ - --stringparam section.autolabel 1 \ - --stringparam section.label.includes.component.label 1 \ - --xinclude - -VER = 1.0 -DOC = poky-ref-manual -ALLPREQ = html pdf tarball -TARFILES = poky-ref-manual.html poky-ref-manual.pdf style.css figures/yocto-project-transp.png figures/poky-ref-manual.png screenshots/ss-sato.png -MANUALS = $(DOC).html $(DOC).pdf -FIGURES = figures -SCREENSHOTS = screenshots -STYLESHEET = *.css - -## -# These URI should be rewritten by your distribution's xml catalog to -# match your localy installed XSL stylesheets. -XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current -XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl - -all: html pdf tarball - -pdf: - ../tools/poky-docbook-to-pdf poky-ref-manual.xml ../template - -html: -# See http://www.sagehill.net/docbookxsl/HtmlOutput.html - xsltproc $(XSLTOPTS) -o poky-ref-manual.html poky-ref-manual-customization.xsl poky-ref-manual.xml - -tarball: html - cd $(DOC); tar -cvzf $(DOC).tgz $(TARFILES); cd .. - -validate: - xmllint --postvalid --xinclude --noout poky-ref-manual.xml - -publish: - scp -r $(MANUALS) $(STYLESHEET) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC) - scp -r $(FIGURES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC)/figures - scp -r $(SCREENSHOTS) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC)/screenshots - -clean: - rm -f $(MANUALS) diff --git a/documentation/yocto-project-qs/Makefile b/documentation/yocto-project-qs/Makefile deleted file mode 100644 index c58a8e914f..0000000000 --- a/documentation/yocto-project-qs/Makefile +++ /dev/null @@ -1,53 +0,0 @@ -# You must call this Makefile using the following form: -# -# make -# make html -# make tarball -# make clean -# make publish -# -# "make" creates the HTML and tarball. -# "make html" creates just the HTML -# "make tarball" creates the tarball -# "make clean" removes the HTML file -# "make publish" pushes the HTML, figures, and stylesheet to the web server -# - -XSLTOPTS = --stringparam html.stylesheet style.css \ - --xinclude - -VER = 1.0 -DOC = yocto-quick-start -ALLPREQ = html pdf tarball -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 -MANUALS = yocto-project-qs.html -FIGURES = figures -STYLESHEET = *.css - -XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current -XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl - -all: html tarball - -## -# These URI should be rewritten by your distribution's xml catalog to -# match your localy installed XSL stylesheets. - -html: -# See http://www.sagehill.net/docbookxsl/HtmlOutput.html - -# xsltproc $(XSLTOPTS) -o yocto-project-qs.html $(XSL_XHTML_URI) yocto-project-qs.xml - xsltproc $(XSLTOPTS) -o yocto-project-qs.html yocto-project-qs-customization.xsl yocto-project-qs.xml - -tarball: html - cd $(DOC); tar -cvzf yocto-project-qs.tgz $(TARFILES); cd .. - -validate: - xmllint --postvalid --xinclude --noout yocto-project-qs.xml - -publish: - scp -r $(MANUALS) $(STYLESHEET) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC) - scp -r $(FIGURES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC)/figures - -clean: - rm -f $(MANUALS)