summaryrefslogtreecommitdiff
path: root/dh
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 /dh
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..
Diffstat (limited to 'dh')
-rwxr-xr-xdh3
1 files changed, 3 insertions, 0 deletions
diff --git a/dh b/dh
index c66d987b..b86e36ad 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