.I "[debhelper options] [-ldirectory] [-uparams] [-Xitem] [-- params]"
.SH "DESCRIPTION"
dh_shlibdeps is a debhelper program that is responsible for calculating
-shared library dependancies for all executables found in the package build
-directory.
+shared library dependancies for packages.
.P
This program is merely a wrapper around
.BR dpkg-shlibdeps (1)
that calls it once for each package listed in the control file, passing it
-a list of ELF executables it has found.
+a list of ELF executables and shared libraries it has found.
.SH OPTIONS
.TP
.B debhelper options
.B \-uparams, \--dpkg-shlibdeps-params=params
.TP
.B \-\- params
-Pass "params" to
+Pass "params" to
.BR dpkg-shlibdeps (1)
.TP
-.B \-Xitem, \--exclude=item
+.B \-Xitem, \--exclude=item
Exclude files that contain "item" anywhere in their filename from being
passed to dpkg-shlibdeps. This will make their dependancies be ignored.
-This may be useful in some situations, but use it with caution.
+This may be useful in some situations, but use it with caution. This option
+may be used more than once to exclude more than one thing.
.TP
.B \-ldirectory
Before
is run, LD_LIBRARY_PATH will be set to the specified directory.
This is useful for multi-binary packages where a library
is built in one package and another package contains binaries linked
-against said library.
+against said library. Note that the paths used must be absolute or
+dpkg-shlibdeps will become confused.
.SH ENVIRONMENT
See
.BR debhelper (1)