On 2014-12-05 08:43, Gergely Nagy wrote: >>>>>> "Jörg" == Jörg Frings-Fürst <deb...@jff-webhosting.net> writes: > >> * Why move --dbg-package from DH_OPTIONS to an override? > > Jörg> --dbg-package is only needed in dh_strip[1]. > > Yes. But it works fine in DH_OPTIONS too, without any ill side-effects, > and is shorter there. (Personal thing, but I hate overrides, and if > there's another way to do what I want, which isn't convoluted, I'd > choose that) > > But override or DH_OPTIONS, in this case, doesn't matter.
The reason I prefer the override, even though it is longer, it that it clearly limits the scope of the option I'm setting. This is helpful to contributors to the package, or new maintainers. `man dh_strip` gives them all the info they need. The effects of DH_OPTIONS=--dbg-package might be obvious to an experienced packager but a newcomer might not know that it only affects dh_strip, hence instead of `man dh_strip`, an internet search or IRC inquiry is required. -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/54831b29.3070...@kvr.at