~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-06-19 11:01:17 UTC
  • mfrom: (4070.11.16 249908-doc-generate)
  • Revision ID: pqm@pqm.ubuntu.com-20090619110117-rhph89w2k9gavp24
(mbp) various tweaks to doc generation

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
        $(rst2html) --stylesheet=../../default.css $< $@
178
178
 
179
179
MAN_DEPENDENCIES = bzrlib/builtins.py \
180
 
                 bzrlib/bundle/commands.py \
181
 
                 bzrlib/conflicts.py \
182
 
                 bzrlib/help_topics/__init__.py \
183
 
                 bzrlib/bzrdir.py \
184
 
                 bzrlib/sign_my_commits.py \
185
 
                 bzrlib/bugtracker.py \
186
 
                 generate_docs.py \
187
 
                 tools/doc_generate/__init__.py \
188
 
                 tools/doc_generate/autodoc_man.py \
189
 
                 tools/doc_generate/autodoc_rstx.py \
190
 
                 $(wildcard $(addsuffix /*.txt, bzrlib/help_topics/en)) 
 
180
        $(wildcard bzrlib/*.py) \
 
181
        $(wildcard bzrlib/*/*.py) \
 
182
        tools/generate_docs.py \
 
183
        $(wildcard $(addsuffix /*.txt, bzrlib/help_topics/en)) 
191
184
 
192
185
doc/en/user-reference/bzr_man.txt: $(MAN_DEPENDENCIES)
193
 
        $(PYTHON) generate_docs.py -o $@ rstx
 
186
        PYTHONPATH=.:$$PYTHONPATH $(PYTHON) tools/generate_docs.py -o $@ rstx
194
187
 
195
188
doc/en/release-notes/NEWS.txt: NEWS
196
189
        $(PYTHON) -c "import shutil; shutil.copyfile('$<', '$@')"
197
190
 
198
191
MAN_PAGES = man1/bzr.1
199
192
man1/bzr.1: $(MAN_DEPENDENCIES)
200
 
        $(PYTHON) generate_docs.py -o $@ man
 
193
        PYTHONPATH=.:$$PYTHONPATH $(PYTHON) tools/generate_docs.py -o $@ man
201
194
 
202
195
# build a png of our performance task list
203
196