as independent files in the package build directory of the specified debugging
package.
-For example, if your packages are lifoo and foo and you want to include a
-foo-dbg package with debugging symbols, use dh_strip --dbg-to=foo-dbg.
+For example, if your packages are libfoo and foo and you want to include a
+foo-dbg package with debugging symbols, use dh_strip --dbg-package=foo-dbg.
Note that this option behaves significantly different in debhelper
compatibility levels 4 and below. Instead of specifying the name of a debug
should have separated debug symbols, and the separated symbols are placed
in packages with "-dbg" added to their name.
-Note that if you use this option, your package should build-depend on
-binutils (>= 2.14.90.0.7).
-
=item B<-k>, B<--keep-debug>
Debug symbols will be retained, but split into an independent
file in usr/lib/debug/ in the package build directory. --dbg-package
is easier to use than this option, but this option is more flexible.
-Note that if you use this option, your package should build-depend on
-binutils (>= 2.12.90.0.9).
-
=back
=head1 NOTES
$debugtmp=tmpdir(@{$dh{DEBUGPACKAGES}}[0]);
}
}
- else
+ else {
if (ref $dh{DEBUGPACKAGES} && grep { $_ eq $package } @{$dh{DEBUGPACKAGES}}) {
$keep_debug=1;
$debugtmp=tmpdir($package."-dbg");