Add python-eventlet package to MOS 9.0 repository
[packages/trusty/python-eventlet.git] / python-eventlet / doc / Makefile
1 # Makefile for Sphinx documentation
2 #
3
4 # You can set these variables from the command line.
5 SPHINXOPTS    =
6 SPHINXBUILD   = PYTHONPATH=../:$(PYTHONPATH) sphinx-build
7 PAPER         =
8
9 # Internal variables.
10 PAPEROPT_a4     = -D latex_paper_size=a4
11 PAPEROPT_letter = -D latex_paper_size=letter
12 ALLSPHINXOPTS   = -d _build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
13
14 .PHONY: help clean text html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
15
16 help:
17         @echo "Please use \`make <target>' where <target> is one of"
18         @echo "  text      to make text files"
19         @echo "  html      to make standalone HTML files"
20         @echo "  dirhtml   to make HTML files named index.html in directories"
21         @echo "  pickle    to make pickle files"
22         @echo "  json      to make JSON files"
23         @echo "  htmlhelp  to make HTML files and a HTML help project"
24         @echo "  qthelp    to make HTML files and a qthelp project"
25         @echo "  latex     to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
26         @echo "  changes   to make an overview of all changed/added/deprecated items"
27         @echo "  linkcheck to check all external links for integrity"
28         @echo "  doctest   to run all doctests embedded in the documentation (if enabled)"
29         @echo "  coverage  to generate a docstring coverage report"
30
31 clean:
32         -rm -rf _build/*
33
34 text:
35         $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) _build/text
36         @echo
37         @echo "Build finished. The text files are in _build/text."
38
39 html:
40         $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) _build/html
41         @echo
42         @echo "Build finished. The HTML pages are in _build/html."
43
44 dirhtml:
45         $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) _build/dirhtml
46         @echo
47         @echo "Build finished. The HTML pages are in _build/dirhtml."
48
49 pickle:
50         $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) _build/pickle
51         @echo
52         @echo "Build finished; now you can process the pickle files."
53
54 json:
55         $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) _build/json
56         @echo
57         @echo "Build finished; now you can process the JSON files."
58
59 htmlhelp:
60         $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) _build/htmlhelp
61         @echo
62         @echo "Build finished; now you can run HTML Help Workshop with the" \
63               ".hhp project file in _build/htmlhelp."
64
65 qthelp:
66         $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) _build/qthelp
67         @echo
68         @echo "Build finished; now you can run "qcollectiongenerator" with the" \
69               ".qhcp project file in _build/qthelp, like this:"
70         @echo "# qcollectiongenerator _build/qthelp/Eventlet.qhcp"
71         @echo "To view the help file:"
72         @echo "# assistant -collectionFile _build/qthelp/Eventlet.qhc"
73
74 latex:
75         $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) _build/latex
76         @echo
77         @echo "Build finished; the LaTeX files are in _build/latex."
78         @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
79               "run these through (pdf)latex."
80
81 changes:
82         $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) _build/changes
83         @echo
84         @echo "The overview file is in _build/changes."
85
86 linkcheck:
87         $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) _build/linkcheck
88         @echo
89         @echo "Link check complete; look for any errors in the above output " \
90               "or in _build/linkcheck/output.txt."
91
92 doctest:
93         $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) _build/doctest
94         @echo "Testing of doctests in the sources finished, look at the " \
95               "results in _build/doctest/output.txt."
96               
97 coverage:
98         $(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) _build/coverage
99         @echo "Coverage report finished, look at the " \
100                   "results in _build/coverage/python.txt."