/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to Makefile

Merge lp:~jelmer/brz/remove-other-languages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
165
165
# Clean out generated documentation
166
166
clean-sphinx:
167
167
        cd doc/en && make clean
168
 
        cd doc/es && make clean
169
 
        cd doc/ja && make clean
170
 
        cd doc/ru && make clean
171
168
        cd doc/developers && make clean
172
169
 
173
170
SPHINX_DEPENDENCIES = \
174
171
        doc/en/release-notes/index.txt \
175
172
        doc/en/user-reference/index.txt \
176
 
        doc/es/Makefile \
177
 
        doc/es/make.bat \
178
 
        doc/ja/Makefile \
179
 
        doc/ja/make.bat \
180
 
        doc/ru/Makefile \
181
 
        doc/ru/make.bat \
182
173
        doc/developers/Makefile \
183
174
        doc/developers/make.bat
184
175
 
199
190
# Build the html docs using Sphinx.
200
191
html-sphinx: $(SPHINX_DEPENDENCIES)
201
192
        cd doc/en && make html
202
 
        cd doc/es && make html
203
 
        cd doc/ru && make html
204
 
        cd doc/ja && make html
205
193
        cd doc/developers && make html
206
194
 
207
195
# Build the PDF docs using Sphinx. This requires numerous LaTeX
211
199
# Russian hyphenation rules, etc.)
212
200
pdf-sphinx: $(SPHINX_DEPENDENCIES)
213
201
        cd doc/en && make latex
214
 
        cd doc/es && make latex
215
 
        cd doc/ja && make latex
216
202
        cd doc/developers && make latex
217
203
        cd doc/en/_build/latex && make all-pdf
218
 
        cd doc/es/_build/latex && make all-pdf
219
204
        cd doc/developers/_build/latex && make all-pdf
220
205
 
221
206
# Build the CHM (Windows Help) docs using Sphinx.
223
208
# to generate the final chm files.
224
209
chm-sphinx: $(SPHINX_DEPENDENCIES)
225
210
        cd doc/en && make htmlhelp
226
 
        cd doc/es && make htmlhelp
227
 
        cd doc/ru && make htmlhelp
228
 
        cd doc/ja && make htmlhelp
229
211
        cd doc/developers && make htmlhelp
230
212
 
231
213
 
232
214
# Build the texinfo files using Sphinx.
233
215
texinfo-sphinx: $(SPHINX_DEPENDENCIES)
234
216
        cd doc/en && make texinfo
235
 
        cd doc/es && make texinfo
236
 
        cd doc/ru && make texinfo
237
 
        cd doc/ja && make texinfo
238
217
        cd doc/developers && make texinfo
239
218
 
240
219
### Documentation Website ###
245
224
# Build and package docs into a website, complete with downloads.
246
225
doc-website: html-sphinx pdf-sphinx
247
226
        $(PYTHON) tools/package_docs.py doc/en $(DOC_WEBSITE_BUILD)
248
 
        $(PYTHON) tools/package_docs.py doc/es $(DOC_WEBSITE_BUILD)
249
 
        $(PYTHON) tools/package_docs.py doc/ru $(DOC_WEBSITE_BUILD)
250
 
        $(PYTHON) tools/package_docs.py doc/ja $(DOC_WEBSITE_BUILD)
251
227
        $(PYTHON) tools/package_docs.py doc/developers $(DOC_WEBSITE_BUILD)
252
228
 
253
229
 
266
242
        doc/en/tutorials/tutorial.txt \
267
243
        doc/en/tutorials/using_breezy_with_launchpad.txt \
268
244
        doc/en/tutorials/centralized_workflow.txt \
269
 
        $(call sw,doc/es/tutorials/*.txt) \
270
 
        $(call sw,doc/ru/tutorials/*.txt) \
271
 
        doc/ja/tutorials/tutorial.txt \
272
 
        doc/ja/tutorials/using_bazaar_with_launchpad.txt \
273
 
        doc/ja/tutorials/centralized_workflow.txt \
274
245
        $(call sw,doc/*/mini-tutorial/index.txt) \
275
246
        $(call sw,doc/*/user-guide/index-plain.txt) \
276
247
        doc/en/admin-guide/index-plain.txt \
281
252
        $(call sw,doc/index.*.txt)
282
253
txt_nohtml = \
283
254
        doc/en/user-guide/index.txt \
284
 
        doc/es/user-guide/index.txt \
285
 
        doc/ja/user-guide/index.txt \
286
 
        doc/ru/user-guide/index.txt \
287
255
        doc/en/admin-guide/index.txt
288
256
txt_files = $(filter-out $(txt_nohtml), $(txt_all))
289
257
htm_files = $(patsubst %.txt, %.html, $(txt_files))