mirror of
https://github.com/postgres/postgres.git
synced 2025-08-19 23:22:23 +03:00
Turn most vc build scripts into modules instead of scripts, and just have
skeleton scripts calling them. To make it easier for the buildfarm (or other "outside callers") to use these modules directly. Per suggestion from Andrew Dunstan.
This commit is contained in:
@@ -3,6 +3,8 @@ use Carp;
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
use Genbki;
|
||||
|
||||
sub new
|
||||
{
|
||||
my $junk = shift;
|
||||
@@ -266,8 +268,11 @@ EOF
|
||||
if (IsNewer('src/backend/catalog/postgres.bki', "src/include/catalog/$bki"))
|
||||
{
|
||||
print "Generating postgres.bki...\n";
|
||||
system("perl src/tools/msvc/genbki.pl $self->{majorver} src/backend/catalog/postgres "
|
||||
. join(' src/include/catalog/',@allbki));
|
||||
Genbki::genbki(
|
||||
$self->{majorver},
|
||||
"src/backend/catalog/postgres",
|
||||
split(/ /,join(' src/include/catalog/',@allbki))
|
||||
);
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user