mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix "make blahblah" on Windows indicate help messages for sphinx-build every time. Closes #1989
This commit is contained in:
parent
8cf1612e37
commit
fdfdfaccff
@ -716,7 +716,7 @@ if "%%1" == "clean" (
|
|||||||
|
|
||||||
|
|
||||||
REM Check if sphinx-build is available and fallback to Python version if any
|
REM Check if sphinx-build is available and fallback to Python version if any
|
||||||
%%SPHINXBUILD%% 2> nul
|
%%SPHINXBUILD%% 1>NUL 2>NUL
|
||||||
if errorlevel 9009 goto sphinx_python
|
if errorlevel 9009 goto sphinx_python
|
||||||
goto sphinx_ok
|
goto sphinx_ok
|
||||||
|
|
||||||
@ -979,7 +979,7 @@ set SPHINXPROJ=%(project_fn)s
|
|||||||
|
|
||||||
if "%%1" == "" goto help
|
if "%%1" == "" goto help
|
||||||
|
|
||||||
%%SPHINXBUILD%% 2> nul
|
%%SPHINXBUILD%% >NUL 2>NUL
|
||||||
if errorlevel 9009 (
|
if errorlevel 9009 (
|
||||||
\techo.
|
\techo.
|
||||||
\techo.The 'sphinx-build' command was not found. Make sure you have Sphinx
|
\techo.The 'sphinx-build' command was not found. Make sure you have Sphinx
|
||||||
|
Loading…
Reference in New Issue
Block a user