File: Makefile

package info (click to toggle)
sqlalchemy 0.6.3-3%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 10,744 kB
  • ctags: 15,132
  • sloc: python: 93,431; ansic: 787; makefile: 137; xml: 17
file content (51 lines) | stat: -rw-r--r-- 1,542 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Makefile for Sphinx documentation
#

# You can set these variables from the command line.
SPHINXOPTS    =
SPHINXBUILD   = sphinx-build
PAPER         =

# Internal variables.
PAPEROPT_a4     = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS   = -d output/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .

.PHONY: help clean html latex site-mako

help:
	@echo "Please use \`make <target>' where <target> is one of"
	@echo "  html      to make standalone HTML files"
	@echo "  dist-html same as html, but places files in /doc"
	@echo "  latex     to make LaTeX files, you can set PAPER=a4 or PAPER=letter"

clean:
	-rm -rf output/*

html:
	mkdir -p output/html output/doctrees
	$(SPHINXBUILD) -b html -A mako_layout=html $(ALLSPHINXOPTS) output/html
	@echo
	@echo "Build finished. The HTML pages are in output/html."

dist-html:
	$(SPHINXBUILD) -b html -A mako_layout=html $(ALLSPHINXOPTS) ..
	@echo
	@echo "Build finished.  The HTML pages are in ../."

site-mako:
	mkdir -p output/site output/doctrees
	$(SPHINXBUILD) -b html -A mako_layout=site $(ALLSPHINXOPTS) output/site
	@echo
	@echo "Build finished. The Mako pages are in output/site."

latex:
	mkdir -p output/latex output/doctrees
	$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) output/latex
	cp texinputs/* output/latex/
	@echo
	@echo "Build finished; the LaTeX files are in output/latex."
	@echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
	      "run these through (pdf)latex."
doctest:
	$(SPHINXBUILD) -b doctest -d output/doctrees . .