We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 791e553 + 5989511 commit 4c4cde7Copy full SHA for 4c4cde7
Doc/make.bat
@@ -76,6 +76,15 @@ if NOT "%PAPER%" == "" (
76
cmd /C %SPHINXBUILD% %SPHINXOPTS% -b%1 -dbuild\doctrees . %BUILDDIR%\%*
77
78
if "%1" EQU "htmlhelp" (
79
+ if not exist "%HTMLHELP%" (
80
+ echo.
81
+ echo.The HTML Help Workshop was not found. Set the HTMLHELP variable
82
+ echo.to the path to hhc.exe or download and install it from
83
+ echo.http://msdn.microsoft.com/en-us/library/ms669985
84
+ rem Set errorlevel to 1 and exit
85
+ cmd /C exit /b 1
86
+ goto end
87
+ )
88
cmd /C "%HTMLHELP%" build\htmlhelp\python%DISTVERSION:.=%.hhp
89
rem hhc.exe seems to always exit with code 1, reset to 0 for less than 2
90
if not errorlevel 2 cmd /C exit /b 0
0 commit comments