~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-11-17 03:20:35 UTC
  • mfrom: (4792.4.3 456036)
  • Revision ID: pqm@pqm.ubuntu.com-20091117032035-s3sgtlixj1lrminn
(Gordon Tyler) Fix IndexError during 'bzr ignore /' (#456036)

Show diffs side-by-side

added added

removed removed

Lines of Context:
185
185
        $(PYTHON) tools/package_docs.py doc/en $(DOC_WEBSITE_BUILD)
186
186
        $(PYTHON) tools/package_docs.py doc/es $(DOC_WEBSITE_BUILD)
187
187
        $(PYTHON) tools/package_docs.py doc/ru $(DOC_WEBSITE_BUILD)
188
 
        $(PYTHON) tools/package_docs.py doc/ja $(DOC_WEBSITE_BUILD)
189
188
        $(PYTHON) tools/package_docs.py doc/developers $(DOC_WEBSITE_BUILD)
190
189
 
191
190
 
199
198
 
200
199
# translate txt docs to html
201
200
derived_txt_files = \
 
201
        doc/en/user-reference/bzr_man.txt \
202
202
        doc/en/release-notes/NEWS.txt
203
203
txt_all = \
204
204
        doc/en/tutorials/tutorial.txt \
211
211
        doc/ja/tutorials/centralized_workflow.txt \
212
212
        $(wildcard doc/*/mini-tutorial/index.txt) \
213
213
        $(wildcard doc/*/user-guide/index-plain.txt) \
214
 
        doc/en/admin-guide/index-plain.txt \
215
214
        $(wildcard doc/es/guia-usario/*.txt) \
216
215
        $(derived_txt_files) \
217
216
        doc/en/upgrade-guide/index.txt \
221
220
        doc/en/user-guide/index.txt \
222
221
        doc/es/user-guide/index.txt \
223
222
        doc/ja/user-guide/index.txt \
224
 
        doc/ru/user-guide/index.txt \
225
 
        doc/en/admin-guide/index.txt
 
223
        doc/ru/user-guide/index.txt
226
224
txt_files = $(filter-out $(txt_nohtml), $(txt_all))
227
225
htm_files = $(patsubst %.txt, %.html, $(txt_files)) 
228
226
 
280
278
#doc/ru/user-guide/index.html: $(wildcard $(addsuffix /*.txt, doc/ru/user-guide)) 
281
279
#       $(rst2html) --stylesheet=../../default.css $(dir $@)index.txt $@
282
280
#
283
 
doc/en/admin-guide/index-plain.html: $(wildcard $(addsuffix /*.txt, doc/en/admin-guide)) 
284
 
        $(rst2html) --stylesheet=../../default.css $(dir $@)index-plain.txt $@
285
 
 
286
281
doc/developers/%.html: doc/developers/%.txt
287
282
        $(rst2html) --stylesheet=../default.css $< $@
288
283
 
295
290
%.html: %.txt
296
291
        $(rst2html) --stylesheet=../../default.css $< $@
297
292
 
 
293
doc/en/user-reference/bzr_man.txt: $(MAN_DEPENDENCIES)
 
294
        $(PYTHON) tools/generate_docs.py -o $@ rstx
 
295
 
298
296
doc/en/release-notes/NEWS.txt: NEWS
299
297
        $(PYTHON) -c "import shutil; shutil.copyfile('$<', '$@')"
300
298