if ($verbose) {print "Info -- *** Begin fetching sources.\n";}\r
if (! -d $wd) { ## xcopy will create the entire path for us.\r
!system("echo foo > a.tmp") or die "Fatal -- Couldn't create temporary file in ".`cd`;\r
- !system("echo F | xcopy a.tmp $wd\\CVS\\a.tmp") or die "Fatal -- Couldn't xcopy to $wd.";\r
+ !system("echo F | xcopy a.tmp $wd\\CVS\\a.tmp") or die "Fatal -- Couldn't xcopy to $wd\\CVS.";\r
!system("rm a.tmp") or die "Fatal -- Couldn't remove temporary file.";\r
!system("rm $wd\\CVS\\a.tmp") or die "Fatal -- Couldn't remove temporary file.";\r
}\r
# Now update site-local.nsi:\r
chdir "..\\nsis";\r
print "Info -- chdir to ".`cd`."\n" if ($verbose);\r
- local $tmpfile = "site-local.sed" ;\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 ($switches[0]->{debug}->{value}) { ## debug build\r
<File name="*.h" from="staging\inc" to="inc" />\r
\r
<File name="*.*" from="staging\install\nsis" to="install\nsis\" />\r
+ <!-- We'll clean up the exes in the target directory in a later step. -->\r
\r
- <File name="MITKerberosForWindows%-DEBUG%.exe"\r
- from="staging\install\nsis" to="install\nsis\" newname="%filestem%.exe" />\r
- <!-- We'll clean up the MITKerberosForWindows.exe in the target directory in a later step. -->\r
-\r
- <File name="config.wxi" from="staging\install\wix" to="install\wix\" />\r
- <File name="features.wxi" from="staging\install\wix" to="install\wix\" />\r
- <File name="files.wxi" from="staging\install\wix" to="install\wix\" />\r
- <File name="kfw.wxs" from="staging\install\wix" to="install\wix\" />\r
- <File name="Makefile" from="staging\install\wix" to="install\wix\" />\r
- <File name="msi-deployment-guide.txt" from="staging\install\wix" to="install\wix\" />\r
- <File name="property.wxi" from="staging\install\wix" to="install\wix\" />\r
- <File name="site-local.wxi" from="staging\install\wix" to="install\wix\" />\r
-\r
- <File name="*.*" from="staging\install\wix\Binary" to="install\wix\Binary\" />\r
+ <File name="*.*" from="staging\install\wix" to="install\wix\" />\r
+ <!-- We'll clean up the msi in the target directory in a later step. -->\r
\r
<File name="custom.cpp" from="staging\install\wix\custom" to="install\wix\custom\" />\r
<File name="custom.h" from="staging\install\wix\custom" to="install\wix\custom\" />\r
\r
- <File name="config_1033.wxi" from="staging\install\wix\lang" to="install\wix\lang\" />\r
- <File name="strings_1033.wxl" from="staging\install\wix\lang" to="install\wix\lang\" />\r
- <File name="ui_1033.wxi" from="staging\install\wix\lang" to="install\wix\lang\" />\r
<!-- Why not license.rtf? -->\r
\r
<File name="*.lib" from="staging\lib\i386" to="lib\i386\" />\r
foreach $expr (split(" ", $exprs)) { ## exprs is something like "*.exe *.dll"\r
local $cmd = "find . -iname \"$expr\"";\r
local $list = `$cmd`; ## $list is files matching *.exe, for example.\r
- foreach $target (split("\n", $list)) {\r
+ foreach $target (split("\n", $list)) {\r
$target =~ s|/|\\|g; ## Flip path separators from unix-style to windows-style.\r
local $template2 = $template;\r
$template2 =~ s/%filename%/$target/;\r