dpkg-buildpackage: Refactor build target hook execution
commitbab74e22a6db2707e442823d6c0b2a1334e76d1b
authorGuillem Jover <guillem@debian.org>
Sat, 10 Feb 2024 13:20:28 +0000 (10 14:20 +0100)
committerGuillem Jover <guillem@debian.org>
Sun, 24 Mar 2024 04:43:19 +0000 (24 05:43 +0100)
tree35c0b619601303448468f6595af66ffa5bcb86dd
parentc711bc865b7196fada1cc02b9b80bf9110b9a889
dpkg-buildpackage: Refactor build target hook execution

This unifies the handling with the other hook execution. It has a slight
behavior change, where the DPKG_BUILDPACKAGE_HOOK_BUILD_TARGET is now
set even when the hook has been disabled.
man/dpkg-buildpackage.pod
scripts/dpkg-buildpackage.pl
scripts/t/dpkg_buildpackage/test-source_0_source.hook