mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
29 lines
520 B
Batchfile
29 lines
520 B
Batchfile
|
@ECHO OFF
|
||
|
ECHO.
|
||
|
ECHO Compiling HTML Help file...
|
||
|
ECHO.
|
||
|
IF EXIST "Build\Refmanual.chm" DEL /F /Q "Build\Refmanual.chm" > NUL
|
||
|
"c:\Program Files (x86)\HTML Help Workshop\hhc" Help\Refmanual.hhp
|
||
|
IF %ERRORLEVEL% NEQ 1 GOTO ERRORFAIL
|
||
|
IF NOT EXIST "Build\Refmanual.chm" GOTO FILEFAIL
|
||
|
|
||
|
ECHO.
|
||
|
ECHO. BUILD DONE !
|
||
|
ECHO.
|
||
|
GOTO LEAVE
|
||
|
|
||
|
:ERRORFAIL
|
||
|
ECHO.
|
||
|
ECHO. BUILD FAILED (Tool returned error)
|
||
|
ECHO.
|
||
|
PAUSE > NUL
|
||
|
GOTO LEAVE
|
||
|
|
||
|
:FILEFAIL
|
||
|
ECHO.
|
||
|
ECHO. BUILD FAILED (Output file was not built)
|
||
|
ECHO.
|
||
|
PAUSE > NUL
|
||
|
GOTO LEAVE
|
||
|
|
||
|
:LEAVE
|