Debian Codegraph @

tests/roots/test-root/Makefile

raw
1 # Makefile for Sphinx documentation
2 #
3
4 # You can set these variables from the command line.
5 SPHINXOPTS =
6 SPHINXBUILD = sphinx-build
7
8 # Internal variables.
9 ALLSPHINXOPTS = -d _build/doctrees $(SPHINXOPTS) .
10
11 .PHONY: help clean html web pickle htmlhelp latex changes linkcheck
12
13 help:
14 @echo "Please use \`make <target>' where <target> is one of"
15 @echo " html to make standalone HTML files"
16 @echo " pickle to make pickle files (usable by e.g. sphinx-web)"
17 @echo " htmlhelp to make HTML files and an HTML help project"
18 @echo " latex to make LaTeX files"
19 @echo " changes to make an overview over all changed/added/deprecated items"
20 @echo " linkcheck to check all external links for integrity"
21
22 clean:
23 rm -rf _build/*
24
25 html:
26 mkdir -p _build/html _build/doctrees
27 $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) _build/html
28 @echo
29 @echo "Build finished. The HTML pages are in _build/html."
30
31 pickle:
32 mkdir -p _build/pickle _build/doctrees
33 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) _build/pickle
34 @echo
35 @echo "Build finished; now you can process the pickle files or run"
36 @echo " sphinx-web _build/pickle"
37 @echo "to start the sphinx-web server."
38
39 web: pickle
40
41 htmlhelp:
42 mkdir -p _build/htmlhelp _build/doctrees
43 $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) _build/htmlhelp
44 @echo
45 @echo "Build finished; now you can run HTML Help Workshop with the" \
46 ".hhp project file in _build/htmlhelp."
47
48 latex:
49 mkdir -p _build/latex _build/doctrees
50 $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) _build/latex
51 @echo
52 @echo "Build finished; the LaTeX files are in _build/latex."
53 @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
54 "run these through (pdf)latex."
55
56 changes:
57 mkdir -p _build/changes _build/doctrees
58 $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) _build/changes
59 @echo
60 @echo "The overview file is in _build/changes."
61
62 linkcheck:
63 mkdir -p _build/linkcheck _build/doctrees
64 $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) _build/linkcheck
65 @echo
66 @echo "Link check complete; look for any errors in the above output " \
67 "or in _build/linkcheck/output.txt."