From: Ben Darnell Date: Sat, 11 Aug 2012 19:09:57 +0000 (-0700) Subject: Latex output file must end in .tex X-Git-Tag: v2.4.0~31^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=359f5a3c9bd37a4a24a9b63a684b3566bffaca66;p=thirdparty%2Ftornado.git Latex output file must end in .tex --- diff --git a/website/Makefile b/website/Makefile index 6032d1490..202e2d132 100644 --- a/website/Makefile +++ b/website/Makefile @@ -9,5 +9,16 @@ coverage: sphinx-build -b coverage ${SPHINXOPTS} sphinx/build/coverage cat sphinx/build/coverage/python.txt +.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 + clean: - rm -rf sphinx/build \ No newline at end of file + rm -rf sphinx/build diff --git a/website/sphinx/conf.py b/website/sphinx/conf.py index d429c7241..86992f44e 100644 --- a/website/sphinx/conf.py +++ b/website/sphinx/conf.py @@ -76,5 +76,5 @@ html_theme_options = dict( ) latex_documents = [ - ('index', 'tornado', 'Tornado Documentation', 'Facebook', 'manual', False), + ('index', 'tornado.tex', 'Tornado Documentation', 'Facebook', 'manual', False), ]