diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2012-08-16 17:16:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-04 12:54:56 +0100 |
commit | fcfb087cfc47403caf0e5c18b2e147d5c90c2ba5 (patch) | |
tree | 471accd7f103b52b39ba8de43f8804d13adaa8d6 | |
parent | e4cb643cdea5f0b050df86bdb545a9e71f439ed7 (diff) | |
download | poky-fcfb087cfc47403caf0e5c18b2e147d5c90c2ba5.tar.gz |
documentation/Makefile: Changes for new style sheets and mega-manual
I added new style.css names for the individual manuals.
Also, created a new entry for the mega-manual. This will generate
an HTML file only (similar to the QS). No PDF file will be generated.
The entry creates an appropriate mega-manual.tgz file as well and
can be branch-dependent (like the dev manual) since it will
obviously include the dev manual.
(From yocto-docs rev: be8c0b965a89e3517a09647eeda06c2ff163d260)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/Makefile | 90 |
1 files changed, 76 insertions, 14 deletions
diff --git a/documentation/Makefile b/documentation/Makefile index bc8e8cb63a..764c52b87c 100644 --- a/documentation/Makefile +++ b/documentation/Makefile | |||
@@ -59,13 +59,13 @@ | |||
59 | # | 59 | # |
60 | 60 | ||
61 | ifeq ($(DOC),bsp-guide) | 61 | ifeq ($(DOC),bsp-guide) |
62 | XSLTOPTS = --stringparam html.stylesheet style.css \ | 62 | XSLTOPTS = --stringparam html.stylesheet bsp-style.css \ |
63 | --stringparam chapter.autolabel 1 \ | 63 | --stringparam chapter.autolabel 1 \ |
64 | --stringparam section.autolabel 1 \ | 64 | --stringparam section.autolabel 1 \ |
65 | --stringparam section.label.includes.component.label 1 \ | 65 | --stringparam section.label.includes.component.label 1 \ |
66 | --xinclude | 66 | --xinclude |
67 | ALLPREQ = html pdf tarball | 67 | ALLPREQ = html pdf tarball |
68 | TARFILES = style.css bsp-guide.html bsp-guide.pdf figures/bsp-title.png | 68 | TARFILES = bsp-style.css bsp-guide.html bsp-guide.pdf figures/bsp-title.png |
69 | MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf | 69 | MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf |
70 | FIGURES = figures | 70 | FIGURES = figures |
71 | STYLESHEET = $(DOC)/*.css | 71 | STYLESHEET = $(DOC)/*.css |
@@ -73,7 +73,7 @@ STYLESHEET = $(DOC)/*.css | |||
73 | endif | 73 | endif |
74 | 74 | ||
75 | ifeq ($(DOC),dev-manual) | 75 | ifeq ($(DOC),dev-manual) |
76 | XSLTOPTS = --stringparam html.stylesheet style.css \ | 76 | XSLTOPTS = --stringparam html.stylesheet dev-style.css \ |
77 | --stringparam chapter.autolabel 1 \ | 77 | --stringparam chapter.autolabel 1 \ |
78 | --stringparam section.autolabel 1 \ | 78 | --stringparam section.autolabel 1 \ |
79 | --stringparam section.label.includes.component.label 1 \ | 79 | --stringparam section.label.includes.component.label 1 \ |
@@ -87,7 +87,7 @@ ALLPREQ = html pdf tarball | |||
87 | # | 87 | # |
88 | 88 | ||
89 | ifeq ($(BRANCH),edison) | 89 | ifeq ($(BRANCH),edison) |
90 | TARFILES = style.css dev-manual.html dev-manual.pdf \ | 90 | TARFILES = dev-style.css dev-manual.html dev-manual.pdf \ |
91 | figures/app-dev-flow.png figures/bsp-dev-flow.png figures/dev-title.png \ | 91 | figures/app-dev-flow.png figures/bsp-dev-flow.png figures/dev-title.png \ |
92 | figures/git-workflow.png figures/index-downloads.png figures/kernel-dev-flow.png \ | 92 | figures/git-workflow.png figures/index-downloads.png figures/kernel-dev-flow.png \ |
93 | figures/kernel-example-repos-edison.png \ | 93 | figures/kernel-example-repos-edison.png \ |
@@ -96,7 +96,7 @@ TARFILES = style.css dev-manual.html dev-manual.pdf \ | |||
96 | figures/source-repos.png figures/yp-download.png \ | 96 | figures/source-repos.png figures/yp-download.png \ |
97 | figures/wip.png | 97 | figures/wip.png |
98 | else ifeq ($(BRANCH),denzil) | 98 | else ifeq ($(BRANCH),denzil) |
99 | TARFILES = style.css dev-manual.html dev-manual.pdf \ | 99 | TARFILES = dev-style.css dev-manual.html dev-manual.pdf \ |
100 | 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 \ |
101 | 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 \ |
102 | figures/kernel-example-repos-denzil.png \ | 102 | figures/kernel-example-repos-denzil.png \ |
@@ -105,7 +105,7 @@ TARFILES = style.css dev-manual.html dev-manual.pdf \ | |||
105 | figures/source-repos.png figures/yp-download.png \ | 105 | figures/source-repos.png figures/yp-download.png \ |
106 | figures/wip.png | 106 | figures/wip.png |
107 | else | 107 | else |
108 | TARFILES = style.css dev-manual.html dev-manual.pdf \ | 108 | TARFILES = dev-style.css dev-manual.html dev-manual.pdf \ |
109 | figures/app-dev-flow.png figures/bsp-dev-flow.png figures/dev-title.png \ | 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 \ | 110 | figures/git-workflow.png figures/index-downloads.png figures/kernel-dev-flow.png \ |
111 | figures/kernel-example-repos-denzil.png \ | 111 | figures/kernel-example-repos-denzil.png \ |
@@ -122,24 +122,79 @@ STYLESHEET = $(DOC)/*.css | |||
122 | endif | 122 | endif |
123 | 123 | ||
124 | ifeq ($(DOC),yocto-project-qs) | 124 | ifeq ($(DOC),yocto-project-qs) |
125 | XSLTOPTS = --stringparam html.stylesheet style.css \ | 125 | XSLTOPTS = --stringparam html.stylesheet qs-style.css \ |
126 | --xinclude | 126 | --xinclude |
127 | ALLPREQ = html tarball | 127 | ALLPREQ = html tarball |
128 | 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 | 128 | TARFILES = yocto-project-qs.html qs-style.css figures/yocto-environment.png figures/building-an-image.png figures/using-a-pre-built-image.png figures/yocto-project-transp.png |
129 | MANUALS = $(DOC)/$(DOC).html | 129 | MANUALS = $(DOC)/$(DOC).html |
130 | FIGURES = figures | 130 | FIGURES = figures |
131 | STYLESHEET = $(DOC)/*.css | 131 | STYLESHEET = $(DOC)/*.css |
132 | endif | 132 | endif |
133 | 133 | ||
134 | ifeq ($(DOC),mega-manual) | ||
135 | XSLTOPTS = --stringparam html.stylesheet mega-style.css \ | ||
136 | --stringparam chapter.autolabel 1 \ | ||
137 | --stringparam section.autolabel 1 \ | ||
138 | --stringparam section.label.includes.component.label 1 \ | ||
139 | --xinclude | ||
140 | ALLPREQ = html tarball | ||
141 | |||
142 | ifeq ($(BRANCH),edison) | ||
143 | TARFILES = mega-manual.html mega-style.css figures/yocto-environment.png figures/building-an-image.png \ | ||
144 | figures/using-a-pre-built-image.png \ | ||
145 | figures/poky-title.png \ | ||
146 | figures/adt-title.png figures/bsp-title.png \ | ||
147 | figures/kernel-title.png figures/kernel-architecture-overview.png \ | ||
148 | figures/app-dev-flow.png figures/bsp-dev-flow.png figures/dev-title.png \ | ||
149 | figures/git-workflow.png figures/index-downloads.png figures/kernel-dev-flow.png \ | ||
150 | figures/kernel-example-repos-edison.png \ | ||
151 | figures/kernel-overview-1.png figures/kernel-overview-2.png \ | ||
152 | figures/kernel-overview-3-edison.png \ | ||
153 | figures/source-repos.png figures/yp-download.png \ | ||
154 | figures/wip.png | ||
155 | else ifeq ($(BRANCH),denzil) | ||
156 | TARFILES = mega-manual.html mega-style.css figures/yocto-environment.png figures/building-an-image.png \ | ||
157 | figures/using-a-pre-built-image.png \ | ||
158 | figures/poky-title.png \ | ||
159 | figures/adt-title.png figures/bsp-title.png \ | ||
160 | figures/kernel-title.png figures/kernel-architecture-overview.png \ | ||
161 | figures/app-dev-flow.png figures/bsp-dev-flow.png figures/dev-title.png \ | ||
162 | figures/git-workflow.png figures/index-downloads.png figures/kernel-dev-flow.png \ | ||
163 | figures/kernel-example-repos-denzil.png \ | ||
164 | figures/kernel-overview-1.png figures/kernel-overview-2.png \ | ||
165 | figures/kernel-overview-3-denzil.png \ | ||
166 | figures/source-repos.png figures/yp-download.png \ | ||
167 | figures/wip.png | ||
168 | else | ||
169 | TARFILES = mega-manual.html mega-style.css figures/yocto-environment.png figures/building-an-image.png \ | ||
170 | figures/using-a-pre-built-image.png \ | ||
171 | figures/poky-title.png \ | ||
172 | figures/adt-title.png figures/bsp-title.png \ | ||
173 | figures/kernel-title.png figures/kernel-architecture-overview.png \ | ||
174 | figures/app-dev-flow.png figures/bsp-dev-flow.png figures/dev-title.png \ | ||
175 | figures/git-workflow.png figures/index-downloads.png figures/kernel-dev-flow.png \ | ||
176 | figures/kernel-example-repos-denzil.png \ | ||
177 | figures/kernel-overview-1.png figures/kernel-overview-2.png \ | ||
178 | figures/kernel-overview-3-denzil.png \ | ||
179 | figures/source-repos.png figures/yp-download.png \ | ||
180 | figures/wip.png | ||
181 | endif | ||
182 | |||
183 | MANUALS = $(DOC)/$(DOC).html | ||
184 | FIGURES = figures | ||
185 | STYLESHEET = $(DOC)/*.css | ||
186 | |||
187 | endif | ||
188 | |||
134 | ifeq ($(DOC),poky-ref-manual) | 189 | ifeq ($(DOC),poky-ref-manual) |
135 | XSLTOPTS = --stringparam html.stylesheet style.css \ | 190 | XSLTOPTS = --stringparam html.stylesheet ref-style.css \ |
136 | --stringparam chapter.autolabel 1 \ | 191 | --stringparam chapter.autolabel 1 \ |
137 | --stringparam appendix.autolabel A \ | 192 | --stringparam appendix.autolabel A \ |
138 | --stringparam section.autolabel 1 \ | 193 | --stringparam section.autolabel 1 \ |
139 | --stringparam section.label.includes.component.label 1 \ | 194 | --stringparam section.label.includes.component.label 1 \ |
140 | --xinclude | 195 | --xinclude |
141 | ALLPREQ = html pdf tarball | 196 | ALLPREQ = html pdf tarball |
142 | TARFILES = poky-ref-manual.html style.css figures/poky-title.png | 197 | TARFILES = poky-ref-manual.html ref-style.css figures/poky-title.png |
143 | MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf | 198 | MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf |
144 | FIGURES = figures | 199 | FIGURES = figures |
145 | STYLESHEET = $(DOC)/*.css | 200 | STYLESHEET = $(DOC)/*.css |
@@ -147,28 +202,28 @@ endif | |||
147 | 202 | ||
148 | 203 | ||
149 | ifeq ($(DOC),adt-manual) | 204 | ifeq ($(DOC),adt-manual) |
150 | XSLTOPTS = --stringparam html.stylesheet style.css \ | 205 | XSLTOPTS = --stringparam html.stylesheet adt-style.css \ |
151 | --stringparam chapter.autolabel 1 \ | 206 | --stringparam chapter.autolabel 1 \ |
152 | --stringparam appendix.autolabel A \ | 207 | --stringparam appendix.autolabel A \ |
153 | --stringparam section.autolabel 1 \ | 208 | --stringparam section.autolabel 1 \ |
154 | --stringparam section.label.includes.component.label 1 \ | 209 | --stringparam section.label.includes.component.label 1 \ |
155 | --xinclude | 210 | --xinclude |
156 | ALLPREQ = html pdf tarball | 211 | ALLPREQ = html pdf tarball |
157 | TARFILES = adt-manual.html adt-manual.pdf style.css figures/adt-title.png | 212 | TARFILES = adt-manual.html adt-manual.pdf adt-style.css figures/adt-title.png |
158 | MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf | 213 | MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf |
159 | FIGURES = figures | 214 | FIGURES = figures |
160 | STYLESHEET = $(DOC)/*.css | 215 | STYLESHEET = $(DOC)/*.css |
161 | endif | 216 | endif |
162 | 217 | ||
163 | ifeq ($(DOC),kernel-manual) | 218 | ifeq ($(DOC),kernel-manual) |
164 | XSLTOPTS = --stringparam html.stylesheet style.css \ | 219 | XSLTOPTS = --stringparam html.stylesheet kernel-style.css \ |
165 | --stringparam chapter.autolabel 1 \ | 220 | --stringparam chapter.autolabel 1 \ |
166 | --stringparam appendix.autolabel A \ | 221 | --stringparam appendix.autolabel A \ |
167 | --stringparam section.autolabel 1 \ | 222 | --stringparam section.autolabel 1 \ |
168 | --stringparam section.label.includes.component.label 1 \ | 223 | --stringparam section.label.includes.component.label 1 \ |
169 | --xinclude | 224 | --xinclude |
170 | ALLPREQ = html pdf tarball | 225 | ALLPREQ = html pdf tarball |
171 | TARFILES = kernel-manual.html kernel-manual.pdf style.css figures/kernel-title.png figures/kernel-architecture-overview.png | 226 | TARFILES = kernel-manual.html kernel-manual.pdf kernel-style.css figures/kernel-title.png figures/kernel-architecture-overview.png |
172 | MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf | 227 | MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf |
173 | FIGURES = figures | 228 | FIGURES = figures |
174 | STYLESHEET = $(DOC)/*.css | 229 | STYLESHEET = $(DOC)/*.css |
@@ -188,7 +243,14 @@ ifeq ($(DOC),yocto-project-qs) | |||
188 | @echo " " | 243 | @echo " " |
189 | @echo "ERROR: You cannot generate a PDF file for the Yocto Project Quick Start" | 244 | @echo "ERROR: You cannot generate a PDF file for the Yocto Project Quick Start" |
190 | @echo " " | 245 | @echo " " |
246 | |||
247 | else ifeq ($(DOC),mega-manual) | ||
248 | @echo " " | ||
249 | @echo "ERROR: You cannot generate a PDF file for the single HTML manual" | ||
250 | @echo " " | ||
251 | |||
191 | else | 252 | else |
253 | |||
192 | cd $(DOC); ../tools/poky-docbook-to-pdf $(DOC).xml ../template; cd .. | 254 | cd $(DOC); ../tools/poky-docbook-to-pdf $(DOC).xml ../template; cd .. |
193 | endif | 255 | endif |
194 | 256 | ||