makedocs.bat 892 B

1234567891011121314151617181920212223242526272829
  1. @echo off
  2. REM
  3. REM Verify that we can find the 'makedocs' python script
  4. REM and the python interpreter. If we can find both, then
  5. REM run 'makedocs'.
  6. REM
  7. set thirdparty=thirdparty
  8. if defined MAKEPANDA_THIRDPARTY set thirdparty=%MAKEPANDA_THIRDPARTY%
  9. if not exist makepanda\makedocs.py goto :missing1
  10. if not exist %thirdparty%\win-python\python.exe goto :missing2
  11. %thirdparty%\win-python\python.exe makepanda\makedocs.py %*
  12. goto done
  13. :missing1
  14. echo You need to change directory to the root of the panda source tree
  15. echo before invoking makedocs.
  16. goto done
  17. :missing2
  18. echo You seem to be missing the 'thirdparty' directory. You probably checked
  19. echo the source code out from GitHub. The GitHub repository is
  20. echo missing the 'thirdparty' directory. You will need to supplement the
  21. echo code by downloading the 'thirdparty' directory from www.panda3d.org
  22. goto done
  23. :done