Properly parse Makefile after change from := to =.

This commit is contained in:
Magnus Hagander 2007-02-13 15:01:52 +00:00
parent c17117649b
commit cff7fcf173
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ EOF
my $mf = Project::read_file('src\backend\catalog\Makefile');
$mf =~ s{\\s*[\r\n]+}{}mg;
$mf =~ /^POSTGRES_BKI_SRCS\s*:=[^,]+,(.*)\)$/gm || croak "Could not find POSTGRES_BKI_SRCS in Makefile\n";
$mf =~ /^POSTGRES_BKI_SRCS\s*:?=[^,]+,(.*)\)$/gm || croak "Could not find POSTGRES_BKI_SRCS in Makefile\n";
my @allbki = split /\s+/, $1;
foreach my $bki (@allbki) {
next if $bki eq "";