]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_shlibdeps
Move many command-specific options to only be accepted by the command that uses them.
[debhelper.git] / dh_shlibdeps
index e859f04aa3abc351b486156dc3b7b23e2675fd0a..320f2501fec587407162c81d81b06a3c78dba141 100755 (executable)
@@ -82,10 +82,15 @@ libfoo, and is installed into /usr/lib/bar/, you can make libfoo-bin depend
 on libbar1 as follows:
 
        dh_shlibdeps -Llibbar1 -l/usr/lib/bar
-
+       
 =cut
 
-init();
+init(options => {
+       "L|libpackage=s" => \$dh{LIBPACKAGE},
+       "add-udeb=s" => \$dh{SHLIBS_UDEB},
+       "dpkg-shlibdeps-params=s", => \$dh{U_PARAMS},
+       "l=s", => \$dh{L_PARAMS},
+});
 
 if ($dh{L_PARAMS}) {
        my @paths=();