Author: dagolden
Date: Mon May 25 12:32:36 2009
New Revision: 12790

Modified:
   Module-Build/trunk/lib/Module/Build/Compat.pm

Log:
passthrough Makefile.PL must cleanup Makefile during distclean (RT#46338)


Modified: Module-Build/trunk/lib/Module/Build/Compat.pm
==============================================================================
--- Module-Build/trunk/lib/Module/Build/Compat.pm       (original)
+++ Module-Build/trunk/lib/Module/Build/Compat.pm       Mon May 25 12:32:36 2009
@@ -290,13 +290,17 @@
 realclean : force_do_it
        $perl $Build realclean
        $unlink
+distclean : force_do_it
+       $perl $Build distclean
+       $unlink
+
 
 force_do_it :
        @ $noop
 EOF
 
   foreach my $action ($class->known_actions) {
-    next if $action =~ /^(all|realclean|force_do_it)$/;  # Don't double-define
+    next if $action =~ /^(all|distclean|realclean|force_do_it)$/;  # Don't 
double-define
     $maketext .= <<"EOF";
 $action : force_do_it
        $perl $Build $action

Reply via email to