mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +00:00
29 lines
548 B
Batchfile
29 lines
548 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
|