Commit a956b160 authored by Andrew Dunstan's avatar Andrew Dunstan

Add PL extension files to MSVC Install procedure.

parent 0b5d7345
...@@ -113,6 +113,25 @@ sub Install ...@@ -113,6 +113,25 @@ sub Install
CopyContribFiles($config,$target); CopyContribFiles($config,$target);
CopyIncludeFiles($target); CopyIncludeFiles($target);
my $pl_extension_files = [];
my @pldirs = ('src/pl/plpgsql/src');
push @pldirs,"src/pl/plperl" if $config->{perl};
push @pldirs,"src/pl/plpython" if $config->{python};
push @pldirs,"src/pl/tcl" if $config->{tcl};
File::Find::find(
{
wanted =>sub {
/^(.*--.*\.sql|.*\.control)\z/s
&&push(@$pl_extension_files, $File::Find::name);
}
},
@pldirs
);
CopySetOfFiles(
'PL Extension files', $pl_extension_files,
$target . '/share/extension/'
);
GenerateNLSFiles($target,$config->{nls},$majorver) if ($config->{nls}); GenerateNLSFiles($target,$config->{nls},$majorver) if ($config->{nls});
print "Installation complete.\n"; print "Installation complete.\n";
......
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