summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-08-29 20:26:23 -0400
committerJoey Hess <joey@kitenet.net>2011-08-29 20:26:23 -0400
commitad8c31967d4f5760abbb268b1ed794f959447e0f (patch)
tree1642e881598b01ebb967ed3e2fffa00dafca1062
parent1807e38fba8fb4e0328df543fe35414f75b1f0c2 (diff)
adh: Don't bother running dh_shlibdebs, dh_makeshelibs, or dh_strip for the binary target when all packages being acted on are indep.
This is a not particularly interesting optimisation, but it will allow my next commit..
-rw-r--r--debian/changelog2
-rwxr-xr-xdh3
2 files changed, 5 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index d634f5a..4da5f48 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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 c66d987..b86e36a 100755
--- 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