summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-08-19 15:34:04 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-19 15:34:04 +0000
commit2edbd6dac2bb2abcd4bc2c6669162b31938fd4fd (patch)
treeb85f226e29506818c18fa11cba0256c4af53a86e /lib
parent172ea7c87e87614bc0ae85422590b4c9d7c3960c (diff)
downloadperl-2edbd6dac2bb2abcd4bc2c6669162b31938fd4fd.tar.gz
Introduce a 'veryclean' target that is like 'distclean'
but also removes *~ and *.orig. p4raw-id: //depot/perl@6714
Diffstat (limited to 'lib')
-rw-r--r--lib/ExtUtils/MM_Unix.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm
index 8e337d97fa..c55cc0a5ca 100644
--- a/lib/ExtUtils/MM_Unix.pm
+++ b/lib/ExtUtils/MM_Unix.pm
@@ -812,7 +812,7 @@ DIST_DEFAULT = $dist_default
=item dist_basics (o)
-Defines the targets distclean, distcheck, skipcheck, manifest.
+Defines the targets distclean, distcheck, skipcheck, manifest, veryclean.
=cut
@@ -840,6 +840,11 @@ manifest :
$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Manifest=mkmanifest \\
-e mkmanifest
};
+
+ push @m, q{
+veryclean : realclean
+ $(RM_F) *~ *.orig */*~ */*.orig
+};
join "", @m;
}