Julien Cristau wrote:
> > 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.

It doesn't make any sense to put this intelligence in dh. If anything
should recognise and automatically use one (or more) -dbg package(s), it
should be dh_strip.

But there are some edge cases to making this work:

* If there's just one -dbg package, but multiple other packages, should
  the debug symbols for all of them be put in it, or just those for the
  matching package name?
* If there are multiple -dbg packages, the corresponding non-dbg
  packages would need to be automatically identified somehow. Just
  stripping the -dbg isn't good enough, because it's very common
  for libfooN to have a corresponding (un-so-versioned) libfoo-dbg.

Note that the thing someone is working on to automatically generate
$PACKAGE-dbg for every package and not have them in the main archive
neatly sidesteps all this complexity of special cases.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to