From: Joey Hess Date: Mon, 13 Jun 2011 20:14:59 +0000 (-0400) Subject: move dh_auto_configure out of @bd_minimal X-Git-Tag: 8.9.0~21 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6d12631c2e78f48544277660f981272444ca4df0;p=debhelper.git move dh_auto_configure out of @bd_minimal Callers overriding build targets will need to configure by hand or by calling dh_auto_configure, which should be the status quo. And moving dh_auto_configure to build (and build-arch and build-indep) will not make it run twice AFAICS (except for the edge case when it already did: debian/rules build-arch build-indep) --- diff --git a/dh b/dh index fd13737..dcf3b9c 100755 --- a/dh +++ b/dh @@ -340,12 +340,13 @@ if (is_make_jobserver_unavailable()) { my %sequences; my @bd_minimal = qw{ dh_testdir - dh_auto_configure }; -my @bd = (@bd_minimal, qw{ +my @bd = qw{ + dh_testdir + dh_auto_configure dh_auto_build dh_auto_test -}); + }; # rules:build-arch and rules:build-indep are not called by build, # as an optimisation (code below will adjust this if explicit targets exist). $sequences{build} = [@bd]; @@ -359,7 +360,8 @@ $sequences{clean} = [qw{ my @i_minimal = qw{ dh_testroot }; -my @i = (@i_minimal, qw{ +my @i = qw{ + dh_testroot dh_prep dh_installdirs dh_auto_install @@ -399,7 +401,7 @@ my @i = (@i_minimal, qw{ dh_link dh_compress dh_fixperms -}); +}; # The install sequences will call rules:build before running # the standard sequence. rules:install-arch and rules:install-indep # are not called by install, as an optimisation (code below will adjust