diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-07-28 17:45:03 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-07-28 17:45:03 +0200 |
| commit | 239485e0722a580115173833b432d85c44c3a34c (patch) | |
| tree | f115184829cd571e1df151276ac59401fd048f31 /docs/Makefile | |
| parent | a6291243051b1977832b0b9a45c27eb68d7ba867 (diff) | |
| download | pyramid-239485e0722a580115173833b432d85c44c3a34c.tar.gz pyramid-239485e0722a580115173833b432d85c44c3a34c.tar.bz2 pyramid-239485e0722a580115173833b432d85c44c3a34c.zip | |
[docs] add latexpdf target
I looked at latest Sphinx sources (in sphinx/quickstart.py) on how this
is done
Diffstat (limited to 'docs/Makefile')
| -rw-r--r-- | docs/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/Makefile b/docs/Makefile index c98fdc65e..12dc88bf8 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -63,8 +63,13 @@ latex: cp _static/latex-note.png _build/latex @echo @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." + @echo "Run \`make latexpdf' to build a PDF file from them." + +latexpdf: + $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) _build/latex + @echo "Running LaTeX files through pdflatex..." + $(MAKE) -C _build/latex all-pdf + @echo "pdflatex finished; the PDF file is in _build/latex." changes: mkdir -p _build/changes _build/doctrees |
