summaryrefslogtreecommitdiffstats
path: root/docs/en/Makefile
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-01-21 17:36:46 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2014-01-21 17:36:46 +0100
commit38c3cfbf27bf62e63e955cbab80783ea11b40b06 (patch)
tree213302271de3b5499e6803f461084bd79c94bb1a /docs/en/Makefile
parent91ae795be29e4ab48da994e1e33c21b2d3c524b5 (diff)
downloadbugzilla-38c3cfbf27bf62e63e955cbab80783ea11b40b06.tar.gz
bugzilla-38c3cfbf27bf62e63e955cbab80783ea11b40b06.tar.xz
Bug 961398: Let rst2pdf build the PDF documentation if pdflatex is not available
r=gerv a=glob
Diffstat (limited to 'docs/en/Makefile')
-rw-r--r--docs/en/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/en/Makefile b/docs/en/Makefile
index afbe6ee26..c0708059d 100644
--- a/docs/en/Makefile
+++ b/docs/en/Makefile
@@ -108,6 +108,11 @@ latexpdf:
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
+pdf:
+ $(SPHINXBUILD) -b pdf -t enable_rst2pdf $(ALLSPHINXOPTS) $(BUILDDIR)/pdf
+ @echo
+ @echo "Build finished. The PDF file is in $(BUILDDIR)/pdf."
+
text:
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/txt
@echo