On Sun, Jan 4, 2009 at 20:50:21 +0100, Evgeni Golov wrote:
> When using a debhelper 7 styled debian/rules, "dh binary-arch" calls
> "dh_strip -a". So when one wants to have a debug package, one needs to
> make the binary-arch target to look like this:
> dh binary-arch --before dh_strip
> dh_strip -a --dbg-package=foo-dbg
> dh binary-arch --remaining
>
> I think dh should recognize the fact that there is only one -dbg package
> in control and automatically call dh_strip with --dbg-package=foo-dbg.
> (When there are multiple -dbg packages in control this is of course
> impossible.)
>
Seconded. It would also be nice to have some smarts in dh to handle
multiple -dbg packages. Currently libxcb does this:
override_dh_strip:
set -e; \
for pkg in $$(grep-dctrl -n -F Section libs -s Package <
debian/control); do \
dh_strip -p $$pkg --dbg-package=$${pkg}-dbg; \
done
dh_strip -s --remaining-packages
which is somewhat ugly.
Cheers,
Julien
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]