~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Andrew Bennetts
  • Date: 2010-01-15 03:58:20 UTC
  • mfrom: (4963 +trunk)
  • mto: (4973.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4975.
  • Revision ID: andrew.bennetts@canonical.com-20100115035820-ilb3t36swgzq6v1l
MergeĀ lp:bzr.

Show diffs side-by-side

added added

removed removed

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