[debhelper-devel] [debhelper] 01/03: Use realclean instead of distclean on perl_build buildsystem.

Joey Hess joey at kitenet.net
Wed Feb 12 17:13:51 UTC 2014


This is an automated email from the git hooks/post-receive script.

joeyh pushed a commit to branch master
in repository debhelper.

commit 8a463fd1ee4268cf5ee1c123f717357aeb01f2db
Author: gregor herrmann <gregoa at debian.org>
Date:   Tue Feb 4 17:42:57 2014 +0100

    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.
---
 Debian/Debhelper/Buildsystem/perl_build.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Debian/Debhelper/Buildsystem/perl_build.pm b/Debian/Debhelper/Buildsystem/perl_build.pm
index bfe1c08..4cfbcb4 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, @_);
 	}
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list