summaryrefslogtreecommitdiff
path: root/doc/build/Makefile
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-07-07 11:34:59 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2011-07-07 11:34:59 -0400
commitf5023ceef3858a4ebbef8d401d10f6493e773b75 (patch)
treeba6ce09521187151e4f24da2aadb2a07989aae38 /doc/build/Makefile
parent5b8738b7e390471bd31b9ece90d0a3fd7653d859 (diff)
downloadsqlalchemy-f5023ceef3858a4ebbef8d401d10f6493e773b75.tar.gz
- add a latex Makefile to texinputs that gets copied on latex build,
ensures pdflatex/latex errors are totally ignored - fix all SQL/code examples in the inherits doc to be within 79 chars. will need to do this for all the docs to get pdf to not look crappy. - add an abspath to the "templates" dir, not sure of the rationale here but is harmless, [ticket:2211] - integrate pdf build with site-mako build
Diffstat (limited to 'doc/build/Makefile')
-rw-r--r--doc/build/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/build/Makefile b/doc/build/Makefile
index a8d26340f..2ee70dfb8 100644
--- a/doc/build/Makefile
+++ b/doc/build/Makefile
@@ -50,6 +50,8 @@ dist-html:
site-mako:
$(SPHINXBUILD) -b html -A mako_layout=site $(ALLSPHINXOPTS) $(BUILDDIR)/site
+ $(MAKE) latexpdf
+ cp $(BUILDDIR)/latex/*.pdf $(BUILDDIR)/site/
@echo
@echo "Build finished. The Mako pages are in $(BUILDDIR)/site."
@@ -112,6 +114,7 @@ latex:
latexpdf:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+ cp texinputs/* $(BUILDDIR)/latex/
@echo "Running LaTeX files through pdflatex..."
make -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."