summaryrefslogtreecommitdiffstats
path: root/documentation/Makefile
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2012-04-26 08:46:36 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-01 20:50:48 +0100
commitab62371795cf33f5a72bdc071a5eab35f869cb81 (patch)
tree75ca4eec565ae14adb9e93a2d5cbbbced1bdd793 /documentation/Makefile
parent8cd58dee92803bceae1619deea3cb9f291cde923 (diff)
downloadpoky-ab62371795cf33f5a72bdc071a5eab35f869cb81.tar.gz
documentation: release-specific figure needed for denzil in dev-manual
dev-manual/dev-manual-model.xml: The Bare Clone and Copy of the Bare Clone figures are out of date for denzil. These needed to be re-done so they use "linux-yocto-3.2.git" and "my-linux-yocto-3.0-work" as the root names. This presents a Makefile issue when making the denzil and pre-denzil versions of the manuals. Whenever you use a different figure for a different release, you need to involve the BRANCH variable in the Makefile. This is necessary because you are using different figures in the generated tarballs. The set of figures could be unique to the release. The outdated figure is "kernel-overview-3.png" and will eventually be removed (later commit). I created a new figure named "kernel-overview-3-denzil.png" and used that in the dev-manual-model.xml file. documentation/Makefile: I updated the Makefile to test for a "denzil" release build and if so include the new file in the generated tarball. This commit adds the new .PNG file as well. Fixed the Makefile so that if you don't supply a BRANCH value, it uses the latest figures (denzil). (From yocto-docs rev: b3550d7640343cd5459efb04c591b81a1e41bc1b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/Makefile')
-rw-r--r--documentation/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/documentation/Makefile b/documentation/Makefile
index 7cf1c6727e..3a12c0e0f8 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -82,7 +82,8 @@ ALLPREQ = html pdf tarball
82# 82#
83# Note that the tarfile might produce the "Cannot stat: No such file or directory" error 83# Note that the tarfile might produce the "Cannot stat: No such file or directory" error
84# message for .PNG files that are not present when building a particular branch. The 84# message for .PNG files that are not present when building a particular branch. The
85# list of files is all-inclusive for all branches. 85# list of files is all-inclusive for all branches. Note, if you don't provide a BRANCH
86# option, it defaults to the latest stuff. This would be appropriate for "master" branch.
86# 87#
87 88
88 ifeq ($(BRANCH),edison) 89 ifeq ($(BRANCH),edison)
@@ -94,13 +95,22 @@ TARFILES = style.css dev-manual.html dev-manual.pdf \
94 figures/kernel-overview-3-edison.png \ 95 figures/kernel-overview-3-edison.png \
95 figures/source-repos.png figures/yp-download.png \ 96 figures/source-repos.png figures/yp-download.png \
96 figures/wip.png 97 figures/wip.png
97 else 98 else ifeq ($(BRANCH),denzil)
98TARFILES = style.css dev-manual.html dev-manual.pdf \ 99TARFILES = style.css dev-manual.html dev-manual.pdf \
99 figures/app-dev-flow.png figures/bsp-dev-flow.png figures/dev-title.png \ 100 figures/app-dev-flow.png figures/bsp-dev-flow.png figures/dev-title.png \
100 figures/git-workflow.png figures/index-downloads.png figures/kernel-dev-flow.png \ 101 figures/git-workflow.png figures/index-downloads.png figures/kernel-dev-flow.png \
101 figures/kernel-example-repos.png \ 102 figures/kernel-example-repos.png \
102 figures/kernel-overview-1.png figures/kernel-overview-2.png \ 103 figures/kernel-overview-1.png figures/kernel-overview-2.png \
103 figures/kernel-overview-3.png \ 104 figures/kernel-overview-3-denzil.png \
105 figures/source-repos.png figures/yp-download.png \
106 figures/wip.png
107 else
108TARFILES = style.css dev-manual.html dev-manual.pdf \
109 figures/app-dev-flow.png figures/bsp-dev-flow.png figures/dev-title.png \
110 figures/git-workflow.png figures/index-downloads.png figures/kernel-dev-flow.png \
111 figures/kernel-example-repos.png \
112 figures/kernel-overview-1.png figures/kernel-overview-2.png \
113 figures/kernel-overview-3-denzil.png \
104 figures/source-repos.png figures/yp-download.png \ 114 figures/source-repos.png figures/yp-download.png \
105 figures/wip.png 115 figures/wip.png
106 endif 116 endif