Georg Brandl  committed 77abab7

Add missing targets to Makefile; do not build latex twice for latexpdf target.

  • Participants
  • Parent commits e195011
  • Branches default

Comments (0)

Files changed (2)

File doc/Makefile

 	@echo "To view the help collection:"
 	@echo "# assistant -collectionFile _build/qthelp/Sphinx.qhc"
+	$(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"
 	$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) _build/epub
 	@echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
 	      "run these through (pdf)latex."
+	$(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."
 	$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) _build/changes

File sphinx/

 \t@echo "Run \\`make' in that directory to run these through (pdf)latex" \\
 \t      "(use \\`make latexpdf' here to do that automatically)."
-latexpdf: latex
 \t@echo "Running LaTeX files through pdflatex..."
 \tmake -C $(BUILDDIR)/latex all-pdf