summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2014-02-04 17:42:57 +0100
committerJoey Hess <joey@kitenet.net>2014-02-04 17:38:06 -0400
commit8a463fd1ee4268cf5ee1c123f717357aeb01f2db (patch)
treea18066778b7fa1b65d578487228d39df24600af4
parentc7b1d28e1157c2f14bb3550c41e37bc37a32b70e (diff)
Use realclean instead of distclean on perl_build buildsystem.
Switch from `Build distclean' to `Build realclean' in the clean action of the perl_build buildsystem. 'distclean' is not specified in the CPAN::API::BuildPL specification, and therefor not implemented in Module::Build::Tiny (and other future implementations). Besides that, the dist* actions are meant for upstream authors.
-rw-r--r--Debian/Debhelper/Buildsystem/perl_build.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Debian/Debhelper/Buildsystem/perl_build.pm b/Debian/Debhelper/Buildsystem/perl_build.pm
index bfe1c08e..4cfbcb4c 100644
--- a/Debian/Debhelper/Buildsystem/perl_build.pm
+++ b/Debian/Debhelper/Buildsystem/perl_build.pm
@@ -70,7 +70,7 @@ sub install {
sub clean {
my $this=shift;
if (-e $this->get_sourcepath("Build")) {
- $this->do_perl("Build", "distclean", "--allow_mb_mismatch", 1, @_);
+ $this->do_perl("Build", "realclean", "--allow_mb_mismatch", 1, @_);
}
}