summaryrefslogtreecommitdiff
path: root/sphinx/quickstart.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-22 19:28:47 +0200
committerGeorg Brandl <georg@python.org>2010-10-22 19:28:47 +0200
commitfc19876da360d5b68631d913adeb4d7e9f586231 (patch)
tree6ba0cc0ec4f1481daf1470d3ecc7c153c0adcbef /sphinx/quickstart.py
parentaa3434db40a9c897d96d42c0c8f9ff5a143598d7 (diff)
downloadsphinx-fc19876da360d5b68631d913adeb4d7e9f586231.tar.gz
Add texinfo target to make.bat.
Diffstat (limited to 'sphinx/quickstart.py')
-rw-r--r--sphinx/quickstart.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py
index 423af3ae..b67ee054 100644
--- a/sphinx/quickstart.py
+++ b/sphinx/quickstart.py
@@ -532,6 +532,7 @@ if "%%1" == "help" (
\techo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter
\techo. text to make text files
\techo. man to make manual pages
+\techo. texinfo to make Texinfo files
\techo. gettext to make PO message catalogs
\techo. changes to make an overview over all changed/added/deprecated items
\techo. linkcheck to check all external links for integrity
@@ -646,8 +647,17 @@ if "%%1" == "man" (
\tgoto end
)
+if "%%1" == "texinfo" (
+\t%%SPHINXBUILD%% -b texinfo %%ALLSPHINXOPTS%% %%BUILDDIR%%/texinfo
+\tif errorlevel 1 exit /b 1
+\techo.
+\techo.Build finished. The Texinfo files are in %%BUILDDIR%%/texinfo.
+\tgoto end
+)
+
if "%%1" == "gettext" (
\t%%SPHINXBUILD%% -b gettext %%ALLSPHINXOPTS%% %%BUILDDIR%%/locale
+\tif errorlevel 1 exit /b 1
\techo.
\techo.Build finished. The message catalogs are in %%BUILDDIR%%/locale.
\tgoto end