Mailing List Archive

cvs commit: modperl Makefile.PL
dougm 98/06/09 09:43:40

Modified: . Makefile.PL
Log:
'make distclean' will now (cd ./apaci && make distclean)
as suggested by Ralf

Revision Changes Path
1.44 +12 -0 modperl/Makefile.PL

Index: Makefile.PL
===================================================================
RCS file: /export/home/cvs/modperl/Makefile.PL,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- Makefile.PL 1998/06/09 16:27:09 1.43
+++ Makefile.PL 1998/06/09 16:43:38 1.44
@@ -926,6 +926,15 @@

cleanup_for_static();

+sub MY::dist_basics {
+ my $self = shift;
+ my $string = $self->MM::dist_basics;
+ if($USE_APXS) {
+ $string =~ s/(distclean\s+::\s+)/$1 apxs_distclean /;
+ }
+ return $string;
+}
+
sub MY::clean {
my $self = shift;
my $string = $self->MM::clean;
@@ -967,6 +976,9 @@
$string =~ s/(pure_all\s+::\s+)(.*)/$1 apxs_libperl $2/;
}
$string .= <<'EOF';
+
+apxs_distclean:
+ (cd ./apaci && $(MAKE) distclean)

apxs_libperl:
(cd ./apaci && $(MAKE))