~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: John Arbash Meinel
  • Date: 2010-11-05 20:54:32 UTC
  • mfrom: (5526 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5527.
  • Revision ID: john@arbash-meinel.com-20101105205432-rmyozu8sthyhmri8
Merge bzr.dev to resolve bzr-2.3.txt (aka NEWS)

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
        doc/developers/Makefile \
140
140
        doc/developers/make.bat
141
141
 
 
142
NEWS_FILES = $(wildcard doc/en/release-notes/bzr-*.txt)
 
143
 
142
144
doc/en/user-reference/index.txt: $(MAN_DEPENDENCIES)
143
145
        $(PYTHON) tools/generate_docs.py -o $@ rstx
144
146
 
145
 
doc/en/release-notes/index.txt: NEWS tools/generate_release_notes.py
146
 
        $(PYTHON) tools/generate_release_notes.py NEWS $@
 
147
doc/en/release-notes/index.txt: $(NEWS_FILES) tools/generate_release_notes.py
 
148
        $(PYTHON) tools/generate_release_notes.py $@ $(NEWS_FILES)
147
149
 
148
150
doc/%/Makefile: doc/en/Makefile
149
151
        $(PYTHON) -c "import shutil; shutil.copyfile('$<', '$@')"
302
304
        $(rst2html) --stylesheet=default.css $< $@
303
305
 
304
306
%.html: %.txt
305
 
        $(rst2html) --stylesheet=../../default.css $< $@
 
307
        $(rst2html) --stylesheet=../../default.css $< "$@"
306
308
 
307
 
doc/en/release-notes/NEWS.txt: NEWS
308
 
        $(PYTHON) -c "import shutil; shutil.copyfile('$<', '$@')"
 
309
doc/en/release-notes/NEWS.txt: $(NEWS_FILES) tools/generate_release_notes.py
 
310
        $(PYTHON) tools/generate_release_notes.py "$@" $(NEWS_FILES)
309
311
 
310
312
upgrade_guide_dependencies =  $(wildcard $(addsuffix /*.txt, doc/en/upgrade-guide)) 
311
313