summaryrefslogtreecommitdiffstats
path: root/docs/en/make.bat
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/make.bat
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/make.bat')
-rw-r--r--docs/en/make.bat7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/en/make.bat b/docs/en/make.bat
index 5c1494bf7..c12f0a720 100644
--- a/docs/en/make.bat
+++ b/docs/en/make.bat
@@ -187,4 +187,11 @@ results in %BUILDDIR%/doctest/output.txt.
goto end
)
+if "%1" == "pdf" (
+ %SPHINXBUILD% -b pdf -t enable_rst2pdf %ALLSPHINXOPTS% %BUILDDIR%/pdf
+ echo.
+ echo.Build finished. The PDF file is in %BUILDDIR%/pdf
+ goto end
+)
+
:end