mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-19 07:40:06 +02:00
Installer, Win: allow to hook the build scripts.
git-svn-id: trunk@42744 -
This commit is contained in:
parent
7594380f44
commit
923b055a1f
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user