0028641: Data Exchange - Support alpha-channel of color
[occt.git] / gendoc.bat
CommitLineData
72b7576f 1@echo off
2
3rem Helper script to run generation of OCCT documentation on Windows.
4rem Running it requires that Tcl, Doxygen, and MikTex (for PDF generation)
5rem should be in the PATH
6
e5bd0d98 7SET "OLD_PATH=%PATH%"
8
72b7576f 9if exist "%~dp0env.bat" (
10 call "%~dp0env.bat"
11)
12
9f33b387 13set "TCL_EXEC=tclsh.exe"
14
15for %%X in (%TCL_EXEC%) do (set TCL_FOUND=%%~$PATH:X)
16
17if defined TCL_FOUND (
d1a67b9d 18 %TCL_EXEC% %~dp0adm/start.tcl gendoc %*
9f33b387 19) else (
20 echo "Error. %TCL_EXEC% is not found. Please update PATH variable"
21)
22
e5bd0d98 23SET "PATH=%OLD_PATH%"