/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 doc/en/Makefile

  • Committer: Vincent Ladeuil
  • Date: 2010-07-07 11:21:19 UTC
  • mto: (5193.7.1 unify-confs)
  • mto: This revision was merged to the branch mainline in revision 5349.
  • Revision ID: v.ladeuil+lp@free.fr-20100707112119-jwyh312df41w6l0o
Revert previous change as I can't reproduce the related problem anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
PAPEROPT_letter = -D latex_paper_size=letter
12
12
ALLSPHINXOPTS   = -d _build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
13
13
 
 
14
# Note that this assumes name of the output dir is same as name of the rule.
 
15
define make_output_dirs
 
16
# Create output directory (only needed for sphinx < 0.5)
 
17
[ -d _build ] || mkdir _build
 
18
[ -d "_build/$@" ] || mkdir "_build/$@"
 
19
# Workaround for a bug in sphinx < 0.5 where it tries to delete
 
20
# nonexistent static dirs and does not catch the exception.  This was
 
21
# fixed in svn+ssh://pythondev@svn.python.org/doctools/branches/0.4.x
 
22
# at r65551 and merged as 280b62246342 in hg branch released as 0.5.
 
23
[ -d "_build/$@/_static" ] || mkdir "_build/$@/_static"
 
24
for fn in _static/*; do \
 
25
    [ ! -d "$$fn" ] && continue; \
 
26
    [ -d "_build/$@/$$fn" ] || mkdir "_build/$@/$$fn"; \
 
27
done
 
28
endef
 
29
 
14
30
.PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
15
31
 
16
32
help:
29
45
clean:
30
46
        -rm -rf _build/*
31
47
 
32
 
api:
33
 
        sphinx-apidoc -feM -s txt -o api ../../breezy
34
 
 
35
48
html:
36
49
        $(make_output_dirs)
37
50
        $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) _build/html
99
112
        $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) _build/doctest
100
113
        @echo "Testing of doctests in the sources finished, look at the " \
101
114
              "results in _build/doctest/output.txt."
102
 
 
103
 
texinfo:
104
 
        $(make_output_dirs)
105
 
        $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) _build/texinfo
106
 
        # Now build the info files using the Makefile provided by Sphinx
107
 
        $(MAKE) -C _build/texinfo
108