]> git.donarmstrong.com Git - debhelper.git/commitdiff
adh: Don't bother running dh_shlibdebs, dh_makeshelibs, or dh_strip for the binary...
authorJoey Hess <joey@kitenet.net>
Tue, 30 Aug 2011 00:26:23 +0000 (20:26 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 30 Aug 2011 00:26:23 +0000 (20:26 -0400)
This is a not particularly interesting optimisation, but it will allow my
next commit..

debian/changelog
dh

index d634f5a6c81883720c423c27a2fc12db6a29e189..4da5f488ccf53059f0cbde156715889ebbd6f190 100644 (file)
@@ -1,5 +1,7 @@
 debhelper (8.9.7) UNRELEASED; urgency=low
 
+  * dh: Don't bother running dh_shlibdebs, dh_makeshelibs, or dh_strip
+    for the binary target when all packages being acted on are indep.
   * debhelper no longer build-depends on man-db, to ease bootstrapping.
 
  -- Joey Hess <joeyh@debian.org>  Mon, 29 Aug 2011 20:18:01 -0400
diff --git a/dh b/dh
index c66d987b625956766293cf61eb84e9faae53efaa..b86e36ad158736306579f703b10977791ce79ad1 100755 (executable)
--- a/dh
+++ b/dh
@@ -422,6 +422,9 @@ my @ba=qw{
        dh_makeshlibs
        dh_shlibdeps
 };
+if (! getpackages("arch")) {
+       @ba=();
+}
 my @b=qw{
        dh_installdeb
        dh_gencontrol