Author: gozer Date: Mon Dec 6 13:03:27 2004 New Revision: 110029 URL: http://svn.apache.org/viewcvs?view=rev&rev=110029 Log: Need to check for the presence of httpd's Makefile, not our own.
Spotted-by: Stas Modified: perl/modperl/trunk/lib/Apache/Build.pm Modified: perl/modperl/trunk/lib/Apache/Build.pm Url: http://svn.apache.org/viewcvs/perl/modperl/trunk/lib/Apache/Build.pm?view=diff&rev=110029&p1=perl/modperl/trunk/lib/Apache/Build.pm&r1=110028&p2=perl/modperl/trunk/lib/Apache/Build.pm&r2=110029 ============================================================================== --- perl/modperl/trunk/lib/Apache/Build.pm (original) +++ perl/modperl/trunk/lib/Apache/Build.pm Mon Dec 6 13:03:27 2004 @@ -285,7 +285,7 @@ my $cd = qq(cd $self->{MP_AP_PREFIX}); #We need to clean the httpd tree before configuring it - if (-f 'Makefile') { + if (-f File::Spec->catfile($self->{MP_AP_PREFIX}, 'Makefile')) { my $cmd = qq(make clean); debug "Running $cmd"; system("$cd && $cmd") == 0 or die "httpd: $cmd failed";