From: Ian Jackson Date: Wed, 25 Jul 2018 14:11:04 +0000 (+0100) Subject: dgit: Move WANTSRC_* definitions up the file X-Git-Tag: archive/debian/6.0~26 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=8f6bfa045b93231a81821ef49222168b223d31e2;p=dgit.git dgit: Move WANTSRC_* definitions up the file We are going to want these a bit earlier. NFC. Signed-off-by: Ian Jackson --- diff --git a/dgit b/dgit index 274f73aa..56f1605e 100755 --- a/dgit +++ b/dgit @@ -6108,6 +6108,10 @@ sub cmd_clean () { maybe_unapply_patches_again(); } +# return values from massage_dbp_args are one or both of these flags +sub WANTSRC_SOURCE () { 01; } # caller should build source (separately) +sub WANTSRC_BUILDER () { 02; } # caller should run dpkg-buildpackage + sub build_or_push_prep_early () { our $build_or_push_prep_early_done //= 0; return if $build_or_push_prep_early_done++; @@ -6183,10 +6187,6 @@ sub changesopts () { return (changesopts_initial(), changesopts_version()); } -# return values from massage_dbp_args are one or both of these flags -sub WANTSRC_SOURCE () { 01; } # caller should build source (separately) -sub WANTSRC_BUILDER () { 02; } # caller should run dpkg-buildpackage - sub massage_dbp_args ($;$) { my ($cmd,$xargs) = @_; # We need to: