Debian Codegraph @

doc/Makefile

raw symbols SCIP
1 # Makefile for Sphinx documentation
2 #
3
4 # You can set these variables from the command line.
5 SPHINXOPTS =
6 SPHINXBUILD = sphinx-build
7 PAPER =
8 BUILDDIR = _build
9
10 INSTALLDIR = /home/newville/public_html/pyshortcuts
11
12 # Internal variables.
13 PAPEROPT_a4 = -D latex_paper_size=a4
14 PAPEROPT_letter = -D latex_paper_size=letter
15 ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
16
17 .PHONY: html pdf all help clean dirhtml latex
18
19
20 all:
21 $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
22 @echo
23 @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
24
25 html:
26 $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
27 @echo
28 @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
29
30 pdf: latex
31 cd $(BUILDDIR)/latex && make all-pdf
32
33 help:
34 @echo "Please use \`make <target>' where <target> is one of"
35 @echo " html to make standalone HTML files"
36 @echo " pdf pdf from latex version"
37 @echo " all html, pdf, and doc.zip"
38 @echo " clean to remove all output"
39
40 latex:
41 $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) _build/latex
42 @echo
43 @echo "Build finished; the LaTeX files are in _build/latex."
44 @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
45 "run these through (pdf)latex."
46
47 latexpdf:
48 $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) _build/latex
49 @echo "Running LaTeX files through pdflatex..."
50 make -C _build/latex all-pdf
51 @echo "pdflatex finished; the PDF files are in _build/latex."
52
53 clean:
54 -rm -rf _build/*