Index: third_party/gsutil/third_party/rsa/doc/make.bat |
diff --git a/third_party/webapp2/docs/make.bat b/third_party/gsutil/third_party/rsa/doc/make.bat |
old mode 100644 |
new mode 100755 |
similarity index 88% |
copy from third_party/webapp2/docs/make.bat |
copy to third_party/gsutil/third_party/rsa/doc/make.bat |
index 850bae867b47615b7f9a38898d9a75fcdaf199d1..9fb9761ba70a66cb20bce538196ced8fed78335a |
--- a/third_party/webapp2/docs/make.bat |
+++ b/third_party/gsutil/third_party/rsa/doc/make.bat |
@@ -42,6 +42,7 @@ if "%1" == "clean" ( |
if "%1" == "html" ( |
%SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html |
+ if errorlevel 1 exit /b 1 |
echo. |
echo.Build finished. The HTML pages are in %BUILDDIR%/html. |
goto end |
@@ -49,6 +50,7 @@ if "%1" == "html" ( |
if "%1" == "dirhtml" ( |
%SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml |
+ if errorlevel 1 exit /b 1 |
echo. |
echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml. |
goto end |
@@ -56,6 +58,7 @@ if "%1" == "dirhtml" ( |
if "%1" == "singlehtml" ( |
%SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml |
+ if errorlevel 1 exit /b 1 |
echo. |
echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml. |
goto end |
@@ -63,6 +66,7 @@ if "%1" == "singlehtml" ( |
if "%1" == "pickle" ( |
%SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle |
+ if errorlevel 1 exit /b 1 |
echo. |
echo.Build finished; now you can process the pickle files. |
goto end |
@@ -70,6 +74,7 @@ if "%1" == "pickle" ( |
if "%1" == "json" ( |
%SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json |
+ if errorlevel 1 exit /b 1 |
echo. |
echo.Build finished; now you can process the JSON files. |
goto end |
@@ -77,6 +82,7 @@ if "%1" == "json" ( |
if "%1" == "htmlhelp" ( |
%SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp |
+ if errorlevel 1 exit /b 1 |
echo. |
echo.Build finished; now you can run HTML Help Workshop with the ^ |
.hhp project file in %BUILDDIR%/htmlhelp. |
@@ -85,17 +91,19 @@ if "%1" == "htmlhelp" ( |
if "%1" == "qthelp" ( |
%SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp |
+ if errorlevel 1 exit /b 1 |
echo. |
echo.Build finished; now you can run "qcollectiongenerator" with the ^ |
.qhcp project file in %BUILDDIR%/qthelp, like this: |
- echo.^> qcollectiongenerator %BUILDDIR%\qthelp\webapp2.qhcp |
+ echo.^> qcollectiongenerator %BUILDDIR%\qthelp\Python-RSA.qhcp |
echo.To view the help file: |
- echo.^> assistant -collectionFile %BUILDDIR%\qthelp\webapp2.ghc |
+ echo.^> assistant -collectionFile %BUILDDIR%\qthelp\Python-RSA.ghc |
goto end |
) |
if "%1" == "devhelp" ( |
%SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp |
+ if errorlevel 1 exit /b 1 |
echo. |
echo.Build finished. |
goto end |
@@ -103,6 +111,7 @@ if "%1" == "devhelp" ( |
if "%1" == "epub" ( |
%SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub |
+ if errorlevel 1 exit /b 1 |
echo. |
echo.Build finished. The epub file is in %BUILDDIR%/epub. |
goto end |
@@ -110,6 +119,7 @@ if "%1" == "epub" ( |
if "%1" == "latex" ( |
%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex |
+ if errorlevel 1 exit /b 1 |
echo. |
echo.Build finished; the LaTeX files are in %BUILDDIR%/latex. |
goto end |
@@ -117,6 +127,7 @@ if "%1" == "latex" ( |
if "%1" == "text" ( |
%SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text |
+ if errorlevel 1 exit /b 1 |
echo. |
echo.Build finished. The text files are in %BUILDDIR%/text. |
goto end |
@@ -124,6 +135,7 @@ if "%1" == "text" ( |
if "%1" == "man" ( |
%SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man |
+ if errorlevel 1 exit /b 1 |
echo. |
echo.Build finished. The manual pages are in %BUILDDIR%/man. |
goto end |
@@ -131,6 +143,7 @@ if "%1" == "man" ( |
if "%1" == "changes" ( |
%SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes |
+ if errorlevel 1 exit /b 1 |
echo. |
echo.The overview file is in %BUILDDIR%/changes. |
goto end |
@@ -138,6 +151,7 @@ if "%1" == "changes" ( |
if "%1" == "linkcheck" ( |
%SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck |
+ if errorlevel 1 exit /b 1 |
echo. |
echo.Link check complete; look for any errors in the above output ^ |
or in %BUILDDIR%/linkcheck/output.txt. |
@@ -146,6 +160,7 @@ or in %BUILDDIR%/linkcheck/output.txt. |
if "%1" == "doctest" ( |
%SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest |
+ if errorlevel 1 exit /b 1 |
echo. |
echo.Testing of doctests in the sources finished, look at the ^ |
results in %BUILDDIR%/doctest/output.txt. |