/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Jelmer Vernooij
  • Date: 2009-02-25 15:36:48 UTC
  • mfrom: (4048 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4050.
  • Revision ID: jelmer@samba.org-20090225153648-7r5mk20nr9dttqbf
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
doc/en/user-guide/index.html: $(wildcard $(addsuffix /*.txt, doc/en/user-guide)) 
112
112
        $(rst2html) --stylesheet=../../default.css doc/en/user-guide/index.txt $@
113
113
 
 
114
# Set the paper size for PDF files.
 
115
# Options:  'a4' (ISO A4 size), 'letter' (US Letter size)
 
116
PAPERSIZE = a4
 
117
PDF_DOCS := doc/en/user-guide/user-guide.$(PAPERSIZE).pdf
 
118
 
 
119
# Copy and modify the RST sources, and convert SVG images to PDF
 
120
# files for use a images in the LaTeX-generated PDF.
 
121
# Then generate the PDF output from the modified RST sources.
 
122
doc/en/user-guide/user-guide.$(PAPERSIZE).pdf: $(wildcard $(addsuffix /*.txt, doc/en/user-guide))
 
123
        mkdir -p doc/en/user-guide/latex_prepared
 
124
        $(PYTHON) tools/prepare_for_latex.py \
 
125
            --out-dir=doc/en/user-guide/latex_prepared \
 
126
            --in-dir=doc/en/user-guide
 
127
        cd doc/en/user-guide/latex_prepared && \
 
128
            $(PYTHON) ../../../../tools/rst2pdf.py \
 
129
                --documentoptions=10pt,$(PAPERSIZE)paper \
 
130
                --input-encoding=UTF-8:strict --output-encoding=UTF-8:strict \
 
131
                --strict --title="Bazaar User Guide" \
 
132
                index.txt ../user-guide.$(PAPERSIZE).pdf
 
133
 
114
134
doc/developers/%.html: doc/developers/%.txt
115
135
        $(rst2html) --stylesheet=../default.css $< $@
116
136
 
163
183
html-docs: docs
164
184
        $(PYTHON) tools/win32/ostools.py copytree $(WEB_DOCS) $(HTMLDIR)
165
185
 
 
186
# Produce PDF documents.  Requires pdfLaTeX, rubber, and Inkscape.
 
187
pdf-docs: $(PDF_DOCS)
 
188
 
166
189
# clean produced docs
167
190
clean-docs:
168
191
        $(PYTHON) tools/win32/ostools.py remove $(ALL_DOCS) \
169
 
        $(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
170
195
 
171
196
 
172
197
### Windows Support ###