/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: Jelmer Vernooij
  • Date: 2019-11-02 23:19:18 UTC
  • mto: This revision was merged to the branch mainline in revision 7413.
  • Revision ID: jelmer@jelmer.uk-20191102231918-8umqkgb2j0lc262j
Fix support for reading from a dumb git server.

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
 
 
30
14
.PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
31
15
 
32
16
help:
45
29
clean:
46
30
        -rm -rf _build/*
47
31
 
 
32
api:
 
33
        sphinx-apidoc -feM -s txt -o api ../../breezy
 
34
 
48
35
html:
49
36
        $(make_output_dirs)
50
37
        $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) _build/html
112
99
        $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) _build/doctest
113
100
        @echo "Testing of doctests in the sources finished, look at the " \
114
101
              "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