diff options
Diffstat (limited to 'import-layers/yocto-poky/documentation/Makefile')
-rw-r--r-- | import-layers/yocto-poky/documentation/Makefile | 89 |
1 files changed, 53 insertions, 36 deletions
diff --git a/import-layers/yocto-poky/documentation/Makefile b/import-layers/yocto-poky/documentation/Makefile index 989109504..e41d5a0f6 100644 --- a/import-layers/yocto-poky/documentation/Makefile +++ b/import-layers/yocto-poky/documentation/Makefile @@ -48,7 +48,7 @@ # Examples: # # make DOC=bsp-guide -# make html DOC=yocto-project-qs +# make html DOC=brief-yoctoprojectqs # make pdf DOC=ref-manual # make DOC=dev-manual BRANCH=edison # make DOC=mega-manual BRANCH=denzil @@ -56,7 +56,7 @@ # The first example generates the HTML and Eclipse help versions of the BSP Guide. # The second example generates the HTML version only of the Quick Start. Note # that the Quick Start only has an HTML version available. So, the -# 'make DOC=yocto-project-qs' command would be equivalent. The third example +# 'make DOC=brief-yoctoprojectqs' command would be equivalent. The third example # generates just the PDF version of the Yocto Project Reference Manual. # The fourth example generates the HTML 'edison' version and (if available) # the Eclipse help version of the YP Development Tasks Manual. The last example @@ -84,6 +84,40 @@ # for the 'denzil' branch. # +ifeq ($(DOC),brief-yoctoprojectqs) +XSLTOPTS = --stringparam html.stylesheet brief-yoctoprojectqs-style.css \ + --stringparam chapter.autolabel 0 \ + --stringparam section.autolabel 0 \ + --stringparam section.label.includes.component.label 0 \ + --xinclude +ALLPREQ = html eclipse tarball +TARFILES = brief-yoctoprojectqs-style.css brief-yoctoprojectqs.html figures/bypqs-title.png \ + figures/yocto-project-transp.png +MANUALS = $(DOC)/$(DOC).html $(DOC)/eclipse +FIGURES = figures +STYLESHEET = $(DOC)/*.css + +endif + +ifeq ($(DOC),overview-manual) +XSLTOPTS = --xinclude +ALLPREQ = html eclipse tarball +TARFILES = overview-manual-style.css overview-manual.html figures/overview-manual-title.png \ + figures/git-workflow.png figures/source-repos.png figures/index-downloads.png \ + figures/yp-download.png figures/YP-flow-diagram.png figures/key-dev-elements.png \ + figures/poky-reference-distribution.png figures/cross-development-toolchains.png \ + figures/user-configuration.png figures/layer-input.png figures/source-input.png \ + figures/package-feeds.png figures/patching.png figures/source-fetching.png \ + figures/configuration-compile-autoreconf.png figures/analysis-for-package-splitting.png \ + figures/image-generation.png figures/sdk-generation.png figures/images.png \ + figures/sdk.png \ + eclipse +MANUALS = $(DOC)/$(DOC).html $(DOC)/eclipse +FIGURES = figures +STYLESHEET = $(DOC)/*.css + +endif + ifeq ($(DOC),bsp-guide) XSLTOPTS = --xinclude ALLPREQ = html eclipse tarball @@ -128,8 +162,8 @@ TARFILES = dev-style.css dev-manual.html \ figures/source-repos.png figures/yp-download.png \ figures/wip.png else -TARFILES = dev-style.css dev-manual.html \ - figures/dev-title.png \ +TARFILES = dev-style.css dev-manual.html figures/buildhistory-web.png \ + figures/dev-title.png figures/buildhistory.png \ figures/recipe-workflow.png figures/bitbake-build-flow.png \ eclipse endif @@ -140,17 +174,6 @@ STYLESHEET = $(DOC)/*.css endif -ifeq ($(DOC),yocto-project-qs) -XSLTOPTS = --xinclude -ALLPREQ = html eclipse tarball -TARFILES = yocto-project-qs.html qs-style.css \ - figures/yocto-project-transp.png \ - eclipse -MANUALS = $(DOC)/$(DOC).html $(DOC)/eclipse -FIGURES = figures -STYLESHEET = $(DOC)/*.css -endif - ifeq ($(DOC),mega-manual) XSLTOPTS = --stringparam html.stylesheet mega-style.css \ --stringparam chapter.autolabel 1 \ @@ -191,7 +214,7 @@ TARFILES = mega-manual.html mega-style.css figures/yocto-environment.png \ figures/wip.png else TARFILES = mega-manual.html mega-style.css \ - figures/building-an-image.png figures/YP-flow-diagram.png \ + figures/YP-flow-diagram.png \ figures/using-a-pre-built-image.png \ figures/poky-title.png figures/buildhistory.png \ figures/buildhistory-web.png \ @@ -229,22 +252,23 @@ TARFILES = mega-manual.html mega-style.css \ figures/sched-wakeup-profile.png figures/sysprof-callers.png \ figures/sysprof-copy-from-user.png figures/sysprof-copy-to-user.png \ figures/cross-development-toolchains.png \ - figures/yocto-environment-ref.png figures/user-configuration.png \ + figures/user-configuration.png \ figures/source-input.png figures/package-feeds.png \ figures/layer-input.png figures/images.png figures/sdk.png \ figures/source-fetching.png figures/patching.png \ figures/configuration-compile-autoreconf.png \ figures/analysis-for-package-splitting.png \ - figures/image-generation.png \ + figures/image-generation.png figures/key-dev-elements.png\ figures/sdk-generation.png figures/recipe-workflow.png \ figures/build-workspace-directory.png figures/mega-title.png \ figures/toaster-title.png figures/hosted-service.png \ - figures/simple-configuration.png \ + figures/simple-configuration.png figures/poky-reference-distribution.png \ figures/compatible-layers.png figures/import-layer.png figures/new-project.png \ figures/sdk-environment.png figures/sdk-installed-standard-sdk-directory.png \ figures/sdk-devtool-add-flow.png figures/sdk-installed-extensible-sdk-directory.png \ figures/sdk-devtool-modify-flow.png figures/sdk-eclipse-dev-flow.png \ - figures/sdk-devtool-upgrade-flow.png figures/bitbake-build-flow.png + figures/sdk-devtool-upgrade-flow.png figures/bitbake-build-flow.png figures/bypqs-title.png \ + figures/overview-manual-title.png figures/sdk-autotools-flow.png figures/sdk-makefile-flow.png endif MANUALS = $(DOC)/$(DOC).html @@ -256,17 +280,9 @@ endif ifeq ($(DOC),ref-manual) XSLTOPTS = --xinclude ALLPREQ = html eclipse tarball -TARFILES = ref-manual.html ref-style.css figures/poky-title.png figures/YP-flow-diagram.png \ - figures/buildhistory.png figures/buildhistory-web.png eclipse \ - figures/cross-development-toolchains.png figures/layer-input.png \ - figures/package-feeds.png figures/source-input.png \ - figures/user-configuration.png figures/yocto-environment-ref.png \ - figures/images.png figures/sdk.png figures/source-fetching.png \ - figures/patching.png figures/configuration-compile-autoreconf.png \ - figures/analysis-for-package-splitting.png figures/image-generation.png \ - figures/sdk-generation.png figures/building-an-image.png \ - figures/build-workspace-directory.png figures/source-repos.png \ - figures/index-downloads.png figures/yp-download.png figures/git-workflow.png +TARFILES = ref-manual.html ref-style.css figures/poky-title.png \ + figures/build-workspace-directory.png \ + eclipse MANUALS = $(DOC)/$(DOC).html $(DOC)/eclipse FIGURES = figures STYLESHEET = $(DOC)/*.css @@ -279,7 +295,7 @@ TARFILES = sdk-manual.html sdk-style.css figures/sdk-title.png \ figures/sdk-environment.png figures/sdk-installed-standard-sdk-directory.png \ figures/sdk-installed-extensible-sdk-directory.png figures/sdk-devtool-add-flow.png \ figures/sdk-devtool-modify-flow.png figures/sdk-eclipse-dev-flow.png \ - figures/sdk-devtool-upgrade-flow.png \ + figures/sdk-devtool-upgrade-flow.png figures/sdk-autotools-flow.png figures/sdk-makefile-flow.png \ eclipse MANUALS = $(DOC)/$(DOC).html $(DOC)/eclipse FIGURES = figures @@ -355,9 +371,9 @@ XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl all: $(ALLPREQ) pdf: -ifeq ($(DOC),yocto-project-qs) +ifeq ($(DOC),brief-yoctoprojectqs) @echo " " - @echo "ERROR: You cannot generate a yocto-project-qs PDF file." + @echo "ERROR: You cannot generate a PDF file for brief-yoctoprojectqs." @echo " " else ifeq ($(DOC),mega-manual) @@ -401,17 +417,18 @@ eclipse: eclipse-generate eclipse-resolve-links .PHONY : eclipse-generate eclipse-resolve-links eclipse-generate: -ifeq ($(filter $(DOC), sdk-manual bsp-guide dev-manual kernel-dev profile-manual ref-manual yocto-project-qs),) +ifeq ($(filter $(DOC), overview-manual sdk-manual bsp-guide dev-manual kernel-dev profile-manual ref-manual brief-yoctoprojectqs),) @echo " " @echo "ERROR: You can only create eclipse documentation" @echo " of the following documentation parts:" + @echo " - overview-manual" @echo " - sdk-manual" @echo " - bsp-guide" @echo " - dev-manual" @echo " - kernel-dev" @echo " - profile-manual" @echo " - ref-manual" - @echo " - yocto-project-qs" + @echo " - brief-yoctoprojectqs" @echo " " else @echo " " |