summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2012-08-16 17:16:01 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-04 12:54:56 +0100
commitfcfb087cfc47403caf0e5c18b2e147d5c90c2ba5 (patch)
tree471accd7f103b52b39ba8de43f8804d13adaa8d6
parente4cb643cdea5f0b050df86bdb545a9e71f439ed7 (diff)
downloadpoky-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/Makefile90
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
61ifeq ($(DOC),bsp-guide) 61ifeq ($(DOC),bsp-guide)
62XSLTOPTS = --stringparam html.stylesheet style.css \ 62XSLTOPTS = --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
67ALLPREQ = html pdf tarball 67ALLPREQ = html pdf tarball
68TARFILES = style.css bsp-guide.html bsp-guide.pdf figures/bsp-title.png 68TARFILES = bsp-style.css bsp-guide.html bsp-guide.pdf figures/bsp-title.png
69MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf 69MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf
70FIGURES = figures 70FIGURES = figures
71STYLESHEET = $(DOC)/*.css 71STYLESHEET = $(DOC)/*.css
@@ -73,7 +73,7 @@ STYLESHEET = $(DOC)/*.css
73endif 73endif
74 74
75ifeq ($(DOC),dev-manual) 75ifeq ($(DOC),dev-manual)
76XSLTOPTS = --stringparam html.stylesheet style.css \ 76XSLTOPTS = --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)
90TARFILES = style.css dev-manual.html dev-manual.pdf \ 90TARFILES = 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)
99TARFILES = style.css dev-manual.html dev-manual.pdf \ 99TARFILES = 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
108TARFILES = style.css dev-manual.html dev-manual.pdf \ 108TARFILES = 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
122endif 122endif
123 123
124ifeq ($(DOC),yocto-project-qs) 124ifeq ($(DOC),yocto-project-qs)
125XSLTOPTS = --stringparam html.stylesheet style.css \ 125XSLTOPTS = --stringparam html.stylesheet qs-style.css \
126 --xinclude 126 --xinclude
127ALLPREQ = html tarball 127ALLPREQ = html tarball
128TARFILES = 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 128TARFILES = 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
129MANUALS = $(DOC)/$(DOC).html 129MANUALS = $(DOC)/$(DOC).html
130FIGURES = figures 130FIGURES = figures
131STYLESHEET = $(DOC)/*.css 131STYLESHEET = $(DOC)/*.css
132endif 132endif
133 133
134ifeq ($(DOC),mega-manual)
135XSLTOPTS = --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
140ALLPREQ = html tarball
141
142 ifeq ($(BRANCH),edison)
143TARFILES = 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)
156TARFILES = 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
169TARFILES = 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
183MANUALS = $(DOC)/$(DOC).html
184FIGURES = figures
185STYLESHEET = $(DOC)/*.css
186
187endif
188
134ifeq ($(DOC),poky-ref-manual) 189ifeq ($(DOC),poky-ref-manual)
135XSLTOPTS = --stringparam html.stylesheet style.css \ 190XSLTOPTS = --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
141ALLPREQ = html pdf tarball 196ALLPREQ = html pdf tarball
142TARFILES = poky-ref-manual.html style.css figures/poky-title.png 197TARFILES = poky-ref-manual.html ref-style.css figures/poky-title.png
143MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf 198MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf
144FIGURES = figures 199FIGURES = figures
145STYLESHEET = $(DOC)/*.css 200STYLESHEET = $(DOC)/*.css
@@ -147,28 +202,28 @@ endif
147 202
148 203
149ifeq ($(DOC),adt-manual) 204ifeq ($(DOC),adt-manual)
150XSLTOPTS = --stringparam html.stylesheet style.css \ 205XSLTOPTS = --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
156ALLPREQ = html pdf tarball 211ALLPREQ = html pdf tarball
157TARFILES = adt-manual.html adt-manual.pdf style.css figures/adt-title.png 212TARFILES = adt-manual.html adt-manual.pdf adt-style.css figures/adt-title.png
158MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf 213MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf
159FIGURES = figures 214FIGURES = figures
160STYLESHEET = $(DOC)/*.css 215STYLESHEET = $(DOC)/*.css
161endif 216endif
162 217
163ifeq ($(DOC),kernel-manual) 218ifeq ($(DOC),kernel-manual)
164XSLTOPTS = --stringparam html.stylesheet style.css \ 219XSLTOPTS = --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
170ALLPREQ = html pdf tarball 225ALLPREQ = html pdf tarball
171TARFILES = kernel-manual.html kernel-manual.pdf style.css figures/kernel-title.png figures/kernel-architecture-overview.png 226TARFILES = kernel-manual.html kernel-manual.pdf kernel-style.css figures/kernel-title.png figures/kernel-architecture-overview.png
172MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf 227MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf
173FIGURES = figures 228FIGURES = figures
174STYLESHEET = $(DOC)/*.css 229STYLESHEET = $(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
247else ifeq ($(DOC),mega-manual)
248 @echo " "
249 @echo "ERROR: You cannot generate a PDF file for the single HTML manual"
250 @echo " "
251
191else 252else
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 ..
193endif 255endif
194 256