Add `latexpdf` target in quickstart Makefile.

This commit is contained in:
Georg Brandl
2009-06-16 21:31:57 +02:00
parent 812455e32c
commit 2ba04abca4
2 changed files with 9 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
Release 1.0 (in development) Release 1.0 (in development)
============================ ============================
* Add ``latexpdf`` target in quickstart Makefile.
* #200: Added ``Sphinx.add_stylesheet()``. * #200: Added ``Sphinx.add_stylesheet()``.
* Added ``titlesonly`` option to ``toctree`` directive. * Added ``titlesonly`` option to ``toctree`` directive.

View File

@@ -281,6 +281,7 @@ help:
\t@echo " htmlhelp to make HTML files and a HTML help project" \t@echo " htmlhelp to make HTML files and a HTML help project"
\t@echo " qthelp to make HTML files and a qthelp project" \t@echo " qthelp to make HTML files and a qthelp project"
\t@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" \t@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
\t@echo " latexpdf to make LaTeX files and run them through pdflatex"
\t@echo " changes to make an overview of all changed/added/deprecated items" \t@echo " changes to make an overview of all changed/added/deprecated items"
\t@echo " linkcheck to check all external links for integrity" \t@echo " linkcheck to check all external links for integrity"
\t@echo " doctest to run all doctests embedded in the documentation \ \t@echo " doctest to run all doctests embedded in the documentation \
@@ -331,6 +332,12 @@ latex:
\t@echo "Run \\`make all-pdf' or \\`make all-ps' in that directory to" \\ \t@echo "Run \\`make all-pdf' or \\`make all-ps' in that directory to" \\
\t "run these through (pdf)latex." \t "run these through (pdf)latex."
latexpdf: latex
\t$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) %(rbuilddir)s/latex
\t@echo "Running LaTeX files through pdflatex..."
\tmake -C %(rbuilddir)s/latex all-pdf
\t@echo "pdflatex finished; the PDF files are in %(rbuilddir)s/latex."
changes: changes:
\t$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) %(rbuilddir)s/changes \t$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) %(rbuilddir)s/changes
\t@echo \t@echo