mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-27 06:02:11 +00:00
30 lines
561 B
Batchfile
30 lines
561 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.
|
||
|
PAUSE > NUL
|
||
|
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
|