From: Joey Hess Date: Tue, 30 Aug 2011 00:26:23 +0000 (-0400) Subject: adh: Don't bother running dh_shlibdebs, dh_makeshelibs, or dh_strip for the binary... X-Git-Tag: 8.9.7~16 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ad8c31967d4f5760abbb268b1ed794f959447e0f;p=debhelper.git 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.. --- 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 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