mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Add missing targets to Makefile; do not build latex twice for latexpdf target.
This commit is contained in:
15
doc/Makefile
15
doc/Makefile
@@ -80,6 +80,15 @@ qthelp:
|
|||||||
@echo "To view the help collection:"
|
@echo "To view the help collection:"
|
||||||
@echo "# assistant -collectionFile _build/qthelp/Sphinx.qhc"
|
@echo "# assistant -collectionFile _build/qthelp/Sphinx.qhc"
|
||||||
|
|
||||||
|
devhelp:
|
||||||
|
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) _build/devhelp
|
||||||
|
@echo
|
||||||
|
@echo "Build finished."
|
||||||
|
@echo "To view the help file:"
|
||||||
|
@echo "# mkdir -p $$HOME/.local/share/devhelp/sphinx"
|
||||||
|
@echo "# ln -s _build/devhelp $$HOME/.local/share/devhelp/sphinx"
|
||||||
|
@echo "# devhelp"
|
||||||
|
|
||||||
epub:
|
epub:
|
||||||
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) _build/epub
|
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) _build/epub
|
||||||
@echo
|
@echo
|
||||||
@@ -92,6 +101,12 @@ latex:
|
|||||||
@echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
|
@echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
|
||||||
"run these through (pdf)latex."
|
"run these through (pdf)latex."
|
||||||
|
|
||||||
|
latexpdf:
|
||||||
|
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) _build/latex
|
||||||
|
@echo "Running LaTeX files through pdflatex..."
|
||||||
|
make -C _build/latex all-pdf
|
||||||
|
@echo "pdflatex finished; the PDF files are in _build/latex."
|
||||||
|
|
||||||
changes:
|
changes:
|
||||||
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) _build/changes
|
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) _build/changes
|
||||||
@echo
|
@echo
|
||||||
|
|||||||
@@ -414,7 +414,7 @@ latex:
|
|||||||
\t@echo "Run \\`make' in that directory to run these through (pdf)latex" \\
|
\t@echo "Run \\`make' in that directory to run these through (pdf)latex" \\
|
||||||
\t "(use \\`make latexpdf' here to do that automatically)."
|
\t "(use \\`make latexpdf' here to do that automatically)."
|
||||||
|
|
||||||
latexpdf: latex
|
latexpdf:
|
||||||
\t$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
\t$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
||||||
\t@echo "Running LaTeX files through pdflatex..."
|
\t@echo "Running LaTeX files through pdflatex..."
|
||||||
\tmake -C $(BUILDDIR)/latex all-pdf
|
\tmake -C $(BUILDDIR)/latex all-pdf
|
||||||
|
|||||||
Reference in New Issue
Block a user