]> git.donarmstrong.com Git - debhelper.git/commitdiff
perl_build: Fix Build check to honor source directory setting.
authorJoey Hess <joey@gnu.kitenet.net>
Wed, 5 Aug 2009 17:52:31 +0000 (13:52 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Wed, 5 Aug 2009 17:52:31 +0000 (13:52 -0400)
Debian/Debhelper/Buildsystem/perl_build.pm
debian/changelog

index 88bcff5859ebd296831b8a8b81be0d5021ae956e..8974be2e3495beb3a3859f686a6e9a285385ad73 100644 (file)
@@ -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", @_);
        }
 }
index f5f7487f98083f1f05e20ab54c23652d04805f63..3e094e8246a02fd2e0b5f0f57c2215290df6f765 100644 (file)
@@ -1,3 +1,9 @@
+debhelper (7.3.11) UNRELEASED; urgency=low
+
+  * perl_build: Fix Build check to honor source directory setting.
+
+ -- Joey Hess <joeyh@debian.org>  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