~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:07:52 UTC
  • mto: This revision was merged to the branch mainline in revision 4008.
  • Revision ID: colin@gibibit.com-20090212170752-roshfon2ckj8atyg
Made PDF documents a separate target for people who don't have LaTeX installed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
# Set the paper size for PDF files.
116
116
# Options:  'a4' (ISO A4 size), 'letter' (US Letter size)
117
117
PAPERSIZE = a4
118
 
PDF_DOCUMENTS := doc/en/user-guide/user-guide.$(PAPERSIZE).pdf
 
118
PDF_DOCS := doc/en/user-guide/user-guide.$(PAPERSIZE).pdf
119
119
 
120
120
# Copy and modify the RST sources, and convert SVG images to PDF
121
121
# files for use a images in the LaTeX-generated PDF.
174
174
 
175
175
derived_web_docs = $(htm_files) $(dev_htm_files) doc/developers/performance.png
176
176
WEB_DOCS = $(derived_web_docs) $(non_txt_files)
177
 
ALL_DOCS = $(derived_web_docs) $(MAN_PAGES) $(PDF_DOCUMENTS)
 
177
ALL_DOCS = $(derived_web_docs) $(MAN_PAGES)
178
178
 
179
179
# the main target to build all the docs
180
180
docs: $(ALL_DOCS)
184
184
html-docs: docs
185
185
        $(PYTHON) tools/win32/ostools.py copytree $(WEB_DOCS) $(HTMLDIR)
186
186
 
 
187
# Produce PDF documents.  Requires pdfLaTeX and 'rubber' for tools/rst2pdf.py.
 
188
pdf-docs: $(PDF_DOCS)
 
189
 
187
190
# clean produced docs
188
191
clean-docs:
189
192
        $(PYTHON) tools/win32/ostools.py remove $(ALL_DOCS) \