perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From go...@apache.org
Subject svn commit: r110026 - /perl/modperl/trunk/Changes /perl/modperl/trunk/lib/Apache/Build.pm
Date Mon, 06 Dec 2004 20:57:41 GMT
Author: gozer
Date: Mon Dec  6 12:57:41 2004
New Revision: 110026

URL: http://svn.apache.org/viewcvs?view=rev&rev=110026
Log:
For static builds, we now run 'make clean' in httpd's source
tree before running ./configure if the source tree has been
configured before


Modified:
   perl/modperl/trunk/Changes
   perl/modperl/trunk/lib/Apache/Build.pm

Modified: perl/modperl/trunk/Changes
Url: http://svn.apache.org/viewcvs/perl/modperl/trunk/Changes?view=diff&rev=110026&p1=perl/modperl/trunk/Changes&r1=110025&p2=perl/modperl/trunk/Changes&r2=110026
==============================================================================
--- perl/modperl/trunk/Changes	(original)
+++ perl/modperl/trunk/Changes	Mon Dec  6 12:57:41 2004
@@ -12,6 +12,10 @@
 
 =item 1.99_18-dev
 
+For static builds, we now run 'make clean' in httpd's source
+tree before running ./configure if the source tree has been
+configured before [Gozer]
+
 Apache::SizeLimit ported [Perrin Harkins <perrin elem.com>]
 
 create a new subpool modperl_server_user_pool (from

Modified: perl/modperl/trunk/lib/Apache/Build.pm
Url: http://svn.apache.org/viewcvs/perl/modperl/trunk/lib/Apache/Build.pm?view=diff&rev=110026&p1=perl/modperl/trunk/lib/Apache/Build.pm&r1=110025&p2=perl/modperl/trunk/lib/Apache/Build.pm&r2=110026
==============================================================================
--- perl/modperl/trunk/lib/Apache/Build.pm	(original)
+++ perl/modperl/trunk/lib/Apache/Build.pm	Mon Dec  6 12:57:41 2004
@@ -283,6 +283,14 @@
         split /\s+/, $ENV{CFLAGS} || '';
 
     my $cd = qq(cd $self->{MP_AP_PREFIX});
+    
+    #We need to clean the httpd tree before configuring it
+    if (-f 'Makefile') {
+        my $cmd = qq(make clean);
+        debug "Running $cmd";
+        system("$cd && $cmd") == 0 or die "httpd: $cmd failed";
+    }
+    
     my $cmd = qq(./configure $self->{MP_AP_CONFIGURE});
     debug "Running $cmd";
     system("$cd && $cmd") == 0 or die "httpd: $cmd failed";

Mime
View raw message