aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2007-04-18 22:16:51 +0000
committerTom Yu <tlyu@mit.edu>2007-04-18 22:16:51 +0000
commit289cde1994cb0bb1731384cfebe95d22e62b4fc2 (patch)
tree1152f80f24992a0a52b9b700eb09092f55c74243 /src
parentbc528fc212eb761ce04aeea81252083d42ebb811 (diff)
downloadkrb5-289cde1994cb0bb1731384cfebe95d22e62b4fc2.zip
krb5-289cde1994cb0bb1731384cfebe95d22e62b4fc2.tar.gz
krb5-289cde1994cb0bb1731384cfebe95d22e62b4fc2.tar.bz2
pull up r19472 from trunk
r19472@cathode-dark-space: kpkoch | 2007-04-14 14:06:26 -0400 Target_Version: 1.6.1 Ticket: 5521 Tags: pullup Leave built installers in their temp areas and change final copy step to copy them into <out> from their new location. Delay cleaning up the temp areas until after that copy. ticket: 5521 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@19503 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/windows/build/BKWconfig.xml16
-rw-r--r--src/windows/build/bkw.pl19
2 files changed, 17 insertions, 18 deletions
diff --git a/src/windows/build/BKWconfig.xml b/src/windows/build/BKWconfig.xml
index b7c11d1..93167f3 100644
--- a/src/windows/build/BKWconfig.xml
+++ b/src/windows/build/BKWconfig.xml
@@ -43,7 +43,7 @@
<SVNURL def="A" value="svn.mit.edu" /> <!-- NB: No protocol or slashes!! -->
<username def="0" value="" /> <!-- Needed for svn/plink. Override from command line -->
- <!-- Environment variables: -->>
+ <!-- Environment variables: -->
<KH_RELEASE def="1" env="1" value="OFFICIAL" options="OFFICIAL PRERELEASE PRIVATE" />
<NODEBUG def="1" env="1" /> <!-- Interacts with /DEBUG -->
</Config>
@@ -164,16 +164,16 @@
</Prunes>
</Zip>
</Zips>
- <CopyList> <!-- Copied at end of post-package step. -->
+ <CopyList> <!-- Copied at end of post-package step. -->
<Files>
<File dummy="foo" />
- <!-- File from paths are relative to <src>/pismere. -->
- <!-- File to paths are relative to <out>. -->
+ <!-- File from paths are relative to <src/pismere>. -->
+ <!-- File to paths are relative to <out>. -->
<File name="msi-deployment-guide.txt" from="staging\install\wix\" to="" />
- <File name="netidmgr_userdoc.pdf" from="staging\doc" to="." />
- <File name="kfw.msi" from="staging\install\wix\" to="" newname="%filestem%.msi" />
- <File name="MITKerberosForWindows%-DEBUG%.exe" from="staging\install\nsis" to="" newname="%filestem%%-DEBUG%.exe" />
- <File name="relnotes.html" from="staging\doc" to="." />
+ <File name="netidmgr_userdoc.pdf" from="staging\doc" to="" />
+ <File name="kfw.msi" from="buildwix" to="" newname="%filestem%.msi" />
+ <File name="MITKerberosForWindows%-DEBUG%.exe" from="buildnsi" to="" newname="%filestem%%-DEBUG%.exe" />
+ <File name="relnotes.html" from="staging\doc" to="" />
</Files>
</CopyList>
</PostPackage>
diff --git a/src/windows/build/bkw.pl b/src/windows/build/bkw.pl
index 6ea7c7f..f397654 100644
--- a/src/windows/build/bkw.pl
+++ b/src/windows/build/bkw.pl
@@ -245,7 +245,7 @@ sub main {
# Test the unix find command:
if (! exists $odr->{unixfind}->{value}) {
$odr->{unixfind}->{value} = "C:\\tools\\cygwin\\bin";
- }
+ }
local $unixfind = $odr->{unixfind}->{value};
local $savedPATH = $ENV{PATH};
@@ -629,23 +629,22 @@ sub main {
!system("rename killer.exe Killer.exe") or die "Error -- Couldn't rename killer.exe";
!system("makensis kfw.nsi") or die "Error -- executable installer build failed.";
- chdir("$wd") or die "Fatal -- Couldn't cd to $wd";
+# Begin packaging extra items:
+ chdir($wd) or die "Fatal -- Couldn't cd to $wd";
print "Info -- chdir to ".`cd`."\n" if ($verbose);
- !system("xcopy /s $wd\\buildwix\\*.msi $wd\\staging\\install\\wix") or die "Fatal -- Couldn't copy $wd\\buildwix\\*.msi.";
- !system("del $wd\\buildnsi\\killer.exe") or die "Fatal -- Couldn't clean $wd\\buildnsi\\killer.exe.";
- !system("xcopy /s $wd\\buildnsi\\*.exe $wd\\staging\\install\\nsis") or die "Fatal -- Couldn't copy $wd\\buildnsi\\install\\nsis\\*.exe.";
- !system("rm -rf $wd\\buildwix") or die "Fatal -- Couldn't remove $wd\\buildwix.";
- !system("rm -rf $wd\\buildnsi") or die "Fatal -- Couldn't remove $wd\\buildnsi.";
-# Begin packaging extra items:
zipXML($config->{Stages}->{PostPackage}, $config); ## Make zips.
$config->{Stages}->{PostPackage}->{CopyList}->{Config} = $config->{Stages}->{PostPackage}->{Config}; ## Use the post package config.
$config->{Stages}->{PostPackage}->{CopyList}->{Config}->{From}->{root} = "$src\\pismere";
- $config->{Stages}->{PostPackage}->{CopyList}->{Config}->{To}->{root} = "$out";
+ $config->{Stages}->{PostPackage}->{CopyList}->{Config}->{To}->{root} = $out;
copyFiles($config->{Stages}->{PostPackage}->{CopyList}, $config); ## Copy any files
- print "Info -- chdir to ".`cd`."\n" if ($verbose);
+ !system("rm -rf $wd\\buildwix") or die "Fatal -- Couldn't remove $wd\\buildwix.";
+ !system("rm -rf $wd\\buildnsi") or die "Fatal -- Couldn't remove $wd\\buildnsi.";
+
+ chdir($out) or die "Fatal -- Couldn't cd to $out";
+ print "Info -- chdir to ".`cd`."\n" if ($verbose);
if ($odr->{sign}->{def}) {
signFiles($config->{Stages}->{PostPackage}->{Config}->{Signing}, $config);
}