From: Magnus Hagander Date: Tue, 13 Feb 2007 15:01:52 +0000 (+0000) Subject: Properly parse Makefile after change from := to =. X-Git-Tag: REL8_3_BETA1~1242 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cff7fcf17328db75f41c1e056807dfc81c22f152;p=postgresql Properly parse Makefile after change from := to =. --- diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index 3be3e80c38..79a3d82790 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -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 "";