diff options
| author | Georg Brandl <georg@python.org> | 2007-12-16 19:36:51 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2007-12-16 19:36:51 +0000 |
| commit | eee1fc51ba1b4d184a8176c20d1d3a68bf837c97 (patch) | |
| tree | 3ad4fee726f9ea3766e18f60688b1130b2644a35 /Doc/Makefile | |
| parent | 1bd51e3eec73d594576389a43d98fcd90c5f3860 (diff) | |
| download | cpython-git-eee1fc51ba1b4d184a8176c20d1d3a68bf837c97.tar.gz | |
Adapt conf.py to new option names.
Diffstat (limited to 'Doc/Makefile')
| -rw-r--r-- | Doc/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Doc/Makefile b/Doc/Makefile index 8569ba0612..ea62f0081b 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -7,16 +7,19 @@ PYTHON = python SVNROOT = http://svn.python.org/projects SPHINXOPTS = +PAPER = -ALLSPHINXOPTS = -b$(BUILDER) -dbuild/doctrees $(SPHINXOPTS) . build/$(BUILDER) +ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -D latex_paper_size=$(PAPER) \ + $(SPHINXOPTS) . build/$(BUILDER) .PHONY: help checkout update build html web htmlhelp clean help: @echo "Please use \`make <target>' where <target> is one of" - @echo " html to make standalone HTML files" - @echo " web to make file usable by Sphinx.web" + @echo " html to make standalone HTML files" + @echo " web to make file usable by Sphinx.web" @echo " htmlhelp to make HTML files and a HTML help project" + @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" checkout: @if [ ! -d tools/sphinx ]; then \ @@ -60,6 +63,8 @@ htmlhelp: build latex: BUILDER = latex latex: build @echo "Build finished; the LaTeX files are in build/latex." + @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \ + "run these through (pdf)latex." clean: -rm -rf build/* |
