2011-06-17 05:36:33 +00:00
|
|
|
SPHINXOPTS=-W -d sphinx/build/doctrees sphinx
|
|
|
|
|
2011-06-09 06:58:58 +00:00
|
|
|
.PHONY: sphinx
|
|
|
|
sphinx:
|
2011-06-09 18:03:49 +00:00
|
|
|
sphinx-build -b html $(SPHINXOPTS) sphinx/build/html
|
|
|
|
|
|
|
|
.PHONY: coverage
|
|
|
|
coverage:
|
|
|
|
sphinx-build -b coverage ${SPHINXOPTS} sphinx/build/coverage
|
2011-09-05 01:00:06 +00:00
|
|
|
cat sphinx/build/coverage/python.txt
|
2011-06-09 06:58:58 +00:00
|
|
|
|
2012-08-11 19:09:57 +00:00
|
|
|
.PHONY: latex
|
|
|
|
latex:
|
|
|
|
sphinx-build -b latex $(SPHINXOPTS) sphinx/build/latex
|
|
|
|
|
|
|
|
# Building a pdf requires a latex installation. For macports, the needed
|
|
|
|
# packages are texlive-latex-extra and texlive-fonts-recommended.
|
|
|
|
# The output is in sphinx/build/latex/tornado.pdf
|
|
|
|
.PHONY: pdf
|
|
|
|
pdf: latex
|
|
|
|
cd sphinx/build/latex && pdflatex -interaction=nonstopmode tornado.tex
|
|
|
|
|
2011-06-09 06:58:58 +00:00
|
|
|
clean:
|
2012-08-11 19:09:57 +00:00
|
|
|
rm -rf sphinx/build
|