]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_strip
r1963: * Typo. Closes: #400571
[debhelper.git] / dh_strip
index dd21a8ca6fe5ee578f9ca713e15ae9c10255164a..37834bc409f966054eda07732b056826ca6f6f69 100755 (executable)
--- a/dh_strip
+++ b/dh_strip
@@ -48,8 +48,8 @@ Causes dh_strip to save debug symbols stripped from the packages it acts on
 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
@@ -57,18 +57,12 @@ package to put symbols in, it specifies a package (or packages) which
 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
@@ -187,7 +181,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                        $debugtmp=tmpdir(@{$dh{DEBUGPACKAGES}}[0]);
                }
        }
-       else
+       else {
                if (ref $dh{DEBUGPACKAGES} && grep { $_ eq $package } @{$dh{DEBUGPACKAGES}}) {
                        $keep_debug=1;
                        $debugtmp=tmpdir($package."-dbg");