From 06fdabbac03db01b0fdf9ef4856bba2b4b32d80d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 5 Aug 2009 13:52:31 -0400 Subject: [PATCH] perl_build: Fix Build check to honor source directory setting. --- Debian/Debhelper/Buildsystem/perl_build.pm | 2 +- debian/changelog | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Debian/Debhelper/Buildsystem/perl_build.pm b/Debian/Debhelper/Buildsystem/perl_build.pm index 88bcff5..8974be2 100644 --- a/Debian/Debhelper/Buildsystem/perl_build.pm +++ b/Debian/Debhelper/Buildsystem/perl_build.pm @@ -61,7 +61,7 @@ sub install { sub clean { my $this=shift; - if (-f "Build") { + if (-e $this->get_sourcepath("Build")) { $this->do_perl("Build", "--allow_mb_mismatch", 1, "distclean", @_); } } diff --git a/debian/changelog b/debian/changelog index f5f7487..3e094e8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +debhelper (7.3.11) UNRELEASED; urgency=low + + * perl_build: Fix Build check to honor source directory setting. + + -- Joey Hess Wed, 05 Aug 2009 13:52:08 -0400 + debhelper (7.3.10) unstable; urgency=low * perl_build: Avoid failing if forced to be used in dh_auto_clean -- 2.39.2