make.bat 770 B

123456789101112131415161718192021222324252627282930313233343536
  1. @ECHO OFF
  2. pushd %~dp0
  3. REM Command file for Sphinx documentation
  4. if "%SPHINXBUILD%" == "" (
  5. set SPHINXBUILD=python -msphinx
  6. )
  7. set SOURCEDIR=.
  8. set BUILDDIR=_build
  9. set SPHINXPROJ=hsyclibs
  10. if "%1" == "" goto help
  11. %SPHINXBUILD% >NUL 2>NUL
  12. if errorlevel 9009 (
  13. echo.
  14. echo.The Sphinx module was not found. Make sure you have Sphinx installed,
  15. echo.then set the SPHINXBUILD environment variable to point to the full
  16. echo.path of the 'sphinx-build' executable. Alternatively you may add the
  17. echo.Sphinx directory to PATH.
  18. echo.
  19. echo.If you don't have Sphinx installed, grab it from
  20. echo.http://sphinx-doc.org/
  21. exit /b 1
  22. )
  23. %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
  24. goto end
  25. :help
  26. %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
  27. :end
  28. popd