chdir("$wd\\athena") or die "Fatal -- couldn't chdir to source directory $wd\\athena\n";\r
print "Info -- chdir to ".`cd`."\n" if ($verbose);\r
local $dbgswitch = ($odr->{debug}->{def}) ? " " : "NODEBUG=1";\r
- !system("perl ../scripts/build.pl --softdirs --nolog $buildtarget $dbgswitch BUILD_OFFICIAL=1") or die "Fatal -- build $buildtarget failed.";\r
+ !system("perl ../scripts/build.pl --softdirs --nolog $buildtarget $dbgswitch BUILD_KFW=1 BUILD_OFFICIAL=1 DEBUG_SYMBOL=1")\r
+ or die "Fatal -- build $buildtarget failed.";\r
\r
- chdir("$wd") or die "Fatal -- couldn't chdir to $wd.";\r
+ chdir("$wd") or die "Fatal -- couldn't chdir to $wd.";\r
+ print "Info -- chdir to ".`cd`."\n" if ($verbose);\r
if ($clean) {\r
if (-d "staging") {\r
!system("rm -rf staging") or die "Fatal -- Couldn't remove $wd\\staging.";\r
print "Info -- chdir to ".`cd`."\n" if ($verbose);\r
!system("sed -f ..\\wix\\$tmpfile site-local-tagged.nsi > b.tmp") or die "Fatal -- Couldn't modify site-local.wxi.";\r
# Add DEBUG or RELEASE:\r
- if ($odr->{debug}->{def}) { ## debug build\r
- !system("echo !define DEBUG >> b.tmp") or die "Fatal -- Couldn't modify b.tmp."; \r
+ if ($odr->{debug}->{def}) { ## debug build\r
+ !system("echo !define DEBUG >> b.tmp") or die "Fatal -- Couldn't modify b.tmp."; \r
}\r
- else { ## release build\r
- if (!exists $config->{Versions}->{'BETA_STR'}) {!system("echo !define RELEASE >> b.tmp") or die "Fatal -- Couldn't modify b.tmp.";}\r
- !system("echo !define NO_DEBUG >> b.tmp") or die "Fatal -- Couldn't modify b.tmp."; \r
+ else { ## release build\r
+ !system("echo !define RELEASE >> b.tmp") or die "Fatal -- Couldn't modify b.tmp.";\r
}\r
# Add BETA if present:\r
if (exists $config->{Versions}->{'BETA_STR'}) {\r
!system("echo !define BETA $config->{Versions}->{'BETA_STR'} >> b.tmp") or die "Fatal -- Couldn't modify b.tmp."; \r
- !system("echo !define NOT_RELEASE >> b.tmp") or die "Fatal -- Couldn't modify b.tmp."; \r
}\r
!system("mv -f b.tmp $wd\\buildnsi\\site-local.nsi") or die "Fatal -- Couldn't replace site-local.nsi.";\r
\r