Installer, Win: allow to hook the build scripts.

git-svn-id: trunk@42744 -
This commit is contained in:
martin 2013-09-11 23:27:58 +00:00
parent 7594380f44
commit 923b055a1f
2 changed files with 6 additions and 0 deletions

View File

@ -222,6 +222,9 @@ if [%BUILDLAZRELEASE%]==[] SET OutputFileName=lazarus-%LAZVERSION%-%LAZREVISION%
SET OutputFileName=%OutputFileName::=_%
:: %LAZBUILD_HOOK_DIR% is a directory, that can contain scripts to be hooked into the build process. Further hooks can be defined the same way
if not [%LAZBUILD_HOOK_DIR%]==[] if exist %LAZBUILD_HOOK_DIR%\lazhook_before_iscc.bat call %LAZBUILD_HOOK_DIR%\lazhook_cross_before_iscc.bat
%ISCC% lazarus-cross.iss
:CLEANUP

View File

@ -184,6 +184,9 @@ if not [%IDE_WIDGETSET%]==[win32] SET OutputFileName=lazarus-%IDE_WIDGETSET%-%LA
:GO_ON
SET OutputFileName=%OutputFileName::=_%
:: %LAZBUILD_HOOK_DIR% is a directory, that can contain scripts to be hooked into the build process. Further hooks can be defined the same way
if not [%LAZBUILD_HOOK_DIR%]==[] if exist %LAZBUILD_HOOK_DIR%\lazhook_before_iscc.bat call %LAZBUILD_HOOK_DIR%\lazhook_before_iscc.bat
%ISCC% lazarus.iss >> installer.log
:: do not delete build dir, if installer failed.