Package: debhelper Version: 11 Severity: wishlist Hi,
the existing dh override mechanism is perfect to do things like: override_dh_strip: dh_strip -Xfoo It is less optimal for adding (rather than overriding) commands: override_dh_fixperms: dh_fixperms chmod 4755 debian/foo/usr/bin/foo This has several problems: * it's ugly because it repeats "dh_fixperms", and it's also error-prone because the explicit dh_fixperms might be forgotten (#884419, #884815, #884817), * it doesn't use the global dh options passed to dh $@ unless they are repeated here, * it defeats parallelization (#881175), * it might or might not work well with override_dh_*-(arch|indep). (Examples directly from dh(1)). I'd like to see after_dh_* as alternative to override_dh_*: after_dh_fixperms: chmod 4755 debian/foo/usr/bin/foo This looks much cleaner to me. (In fact, the reason I'm filing this wishlist bug is that I'm always twitching a bit when I have to repeat dh_foo in the override_dh_foo incantation.) Thanks for considering, Christoph
signature.asc
Description: PGP signature