From ad8c31967d4f5760abbb268b1ed794f959447e0f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 29 Aug 2011 20:26:23 -0400 Subject: 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.. --- debian/changelog | 2 ++ dh | 3 +++ 2 files changed, 5 insertions(+) diff --git a/debian/changelog b/debian/changelog index d634f5a6..4da5f488 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 Mon, 29 Aug 2011 20:18:01 -0400 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 -- cgit v1.2.3