Commit 2ee69ff6 authored by Tom Lane's avatar Tom Lane

Remove no-longer-needed special case hacks in MSVC build scripts.

parent de06cfe8
......@@ -325,9 +325,6 @@ sub CopyContribFiles
{
$flist = ParseAndCleanRule($flist, $mf);
# Special case for contrib/spi
$flist = "autoinc.sql insert_username.sql moddatetime.sql refint.sql timetravel.sql"
if ($d eq 'spi');
foreach my $f (split /\s+/,$flist)
{
lcopy('contrib/' . $d . '/' . $f,$target . '/share/contrib/' . basename($f))
......
......@@ -579,10 +579,6 @@ sub GenerateContribSqlFiles
$l = substr($l, 0, index($l, '$(addsuffix ')) . substr($l, $i+1);
}
# Special case for contrib/spi
$l = "autoinc.sql insert_username.sql moddatetime.sql refint.sql timetravel.sql"
if ($n eq 'spi');
foreach my $d (split /\s+/, $l)
{
my $in = "$d.in";
......@@ -594,7 +590,6 @@ sub GenerateContribSqlFiles
my $cont = Project::read_file("contrib/$n/$in");
my $dn = $out;
$dn =~ s/\.sql$//;
if ($mf =~ /^MODULE_big\s*=\s*(.*)$/m) { $dn = $1 }
$cont =~ s/MODULE_PATHNAME/\$libdir\/$dn/g;
my $o;
open($o,">contrib/$n/$out") || croak "Could not write to contrib/$n/$d";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment