~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Colin D Bennett
  • Date: 2009-02-12 17:18:33 UTC
  • mto: This revision was merged to the branch mainline in revision 4008.
  • Revision ID: colin@gibibit.com-20090212171833-s8k62ifqy4uf4cxc
Put PDF cleanup in clean-docs target; added note on Inkscape requirement.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
clean:
54
54
        $(PYTHON) setup.py clean
55
55
        -find . -name "*.pyc" -o -name "*.pyo" -o -name "*.so" | xargs rm -f
56
 
        rm -rf doc/en/user-guide/latex_prepared
57
56
 
58
57
# Build API documentation
59
58
docfiles = bzr bzrlib
184
183
html-docs: docs
185
184
        $(PYTHON) tools/win32/ostools.py copytree $(WEB_DOCS) $(HTMLDIR)
186
185
 
187
 
# Produce PDF documents.  Requires pdfLaTeX and 'rubber' for tools/rst2pdf.py.
 
186
# Produce PDF documents.  Requires pdfLaTeX, rubber, and Inkscape.
188
187
pdf-docs: $(PDF_DOCS)
189
188
 
190
189
# clean produced docs
191
190
clean-docs:
192
191
        $(PYTHON) tools/win32/ostools.py remove $(ALL_DOCS) \
193
 
        $(HTMLDIR) $(derived_txt_files)
 
192
            $(HTMLDIR) $(derived_txt_files)
 
193
        rm -f doc/en/user-guide/*.pdf
 
194
        rm -rf doc/en/user-guide/latex_prepared
194
195
 
195
196
 
196
197
### Windows Support ###