From 9cdc53983b55cb426b51219a2b73bad050aa3e6b Mon Sep 17 00:00:00 2001 From: Kevin Koch Date: Fri, 30 Mar 2007 21:24:18 +0000 Subject: For the sdk zip, copy *.* and then [the new part] remove *.exe and *.msi. Further tweaks should be suggested in the form of mods to sdkfiles.xml Minor formatting and removing redundant code. Target_Version: 1.6.1 Ticket: 5490 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19363 dc483132-0cff-0310-8789-dd5450dbe970 --- src/windows/build/BKWconfig.xml | 3 ++- src/windows/build/bkw.pl | 3 +-- src/windows/build/sdkfiles.xml | 20 +++----------------- src/windows/build/signFiles.pl | 2 +- 4 files changed, 7 insertions(+), 21 deletions(-) (limited to 'src/windows/build') diff --git a/src/windows/build/BKWconfig.xml b/src/windows/build/BKWconfig.xml index 7e1fd24c7d..9d8ed193e9 100644 --- a/src/windows/build/BKWconfig.xml +++ b/src/windows/build/BKWconfig.xml @@ -115,7 +115,8 @@ - + + diff --git a/src/windows/build/bkw.pl b/src/windows/build/bkw.pl index ca8b3f8259..20d219e015 100644 --- a/src/windows/build/bkw.pl +++ b/src/windows/build/bkw.pl @@ -266,7 +266,7 @@ sub main { if ($verbose) {print "Info -- *** Begin fetching sources.\n";} if (! -d $wd) { ## xcopy will create the entire path for us. !system("echo foo > a.tmp") or die "Fatal -- Couldn't create temporary file in ".`cd`; - !system("echo F | xcopy a.tmp $wd\\CVS\\a.tmp") or die "Fatal -- Couldn't xcopy to $wd."; + !system("echo F | xcopy a.tmp $wd\\CVS\\a.tmp") or die "Fatal -- Couldn't xcopy to $wd\\CVS."; !system("rm a.tmp") or die "Fatal -- Couldn't remove temporary file."; !system("rm $wd\\CVS\\a.tmp") or die "Fatal -- Couldn't remove temporary file."; } @@ -506,7 +506,6 @@ sub main { # Now update site-local.nsi: chdir "..\\nsis"; print "Info -- chdir to ".`cd`."\n" if ($verbose); - local $tmpfile = "site-local.sed" ; !system("sed -f ..\\wix\\$tmpfile site-local-tagged.nsi > b.tmp") or die "Fatal -- Couldn't modify site-local.wxi."; # Add DEBUG or RELEASE: if ($switches[0]->{debug}->{value}) { ## debug build diff --git a/src/windows/build/sdkfiles.xml b/src/windows/build/sdkfiles.xml index 3553585414..d62b962b2d 100644 --- a/src/windows/build/sdkfiles.xml +++ b/src/windows/build/sdkfiles.xml @@ -11,28 +11,14 @@ + - - - - - - - - - - - - - + + - - - diff --git a/src/windows/build/signFiles.pl b/src/windows/build/signFiles.pl index a94c4f2d99..058eff2a46 100644 --- a/src/windows/build/signFiles.pl +++ b/src/windows/build/signFiles.pl @@ -13,7 +13,7 @@ sub signFiles { foreach $expr (split(" ", $exprs)) { ## exprs is something like "*.exe *.dll" local $cmd = "find . -iname \"$expr\""; local $list = `$cmd`; ## $list is files matching *.exe, for example. - foreach $target (split("\n", $list)) { + foreach $target (split("\n", $list)) { $target =~ s|/|\\|g; ## Flip path separators from unix-style to windows-style. local $template2 = $template; $template2 =~ s/%filename%/$target/; -- cgit