From: Kevin Koch Date: Fri, 30 Mar 2007 21:24:18 +0000 (+0000) Subject: For the sdk zip, copy *.* and then [the new part] remove *.exe and *.msi. Further... X-Git-Tag: krb5-1.7-alpha1~1196 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9cdc53983b55cb426b51219a2b73bad050aa3e6b;p=krb5.git 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 --- diff --git a/src/windows/build/BKWconfig.xml b/src/windows/build/BKWconfig.xml index 7e1fd24c7..9d8ed193e 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 ca8b3f825..20d219e01 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 355358541..d62b962b2 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 a94c4f2d9..058eff2a4 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/;