/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: Breezy landing bot
  • Author(s): Colin Watson
  • Date: 2020-11-16 21:47:08 UTC
  • mfrom: (7521.1.1 remove-lp-workaround)
  • Revision ID: breezy.the.bot@gmail.com-20201116214708-jos209mgxi41oy15
Remove breezy.git workaround for bazaar.launchpad.net.

Merged from https://code.launchpad.net/~cjwatson/brz/remove-lp-workaround/+merge/393710

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