]> fred1m.tech Git - papier-crayon.git/blame - make.bat
WIP typo
[papier-crayon.git] / make.bat
CommitLineData
9a924317
FLM
1@ECHO OFF\r
2\r
3pushd %~dp0\r
4\r
5REM Command file for Sphinx documentation\r
6\r
7if "%SPHINXBUILD%" == "" (\r
8 set SPHINXBUILD=sphinx-build\r
9)\r
10set SOURCEDIR=source\r
11set BUILDDIR=build\r
12\r
13%SPHINXBUILD% >NUL 2>NUL\r
14if errorlevel 9009 (\r
15 echo.\r
16 echo.The 'sphinx-build' command was not found. Make sure you have Sphinx\r
17 echo.installed, then set the SPHINXBUILD environment variable to point\r
18 echo.to the full path of the 'sphinx-build' executable. Alternatively you\r
19 echo.may add the Sphinx directory to PATH.\r
20 echo.\r
21 echo.If you don't have Sphinx installed, grab it from\r
22 echo.https://www.sphinx-doc.org/\r
23 exit /b 1\r
24)\r
25\r
26if "%1" == "" goto help\r
27\r
28%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%\r
29goto end\r
30\r
31:help\r
32%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%\r
33\r
34:end\r
35popd\r