From: Joey Hess Date: Thu, 5 Jul 2012 14:51:40 +0000 (-0600) Subject: dh_shlibdeps: Warn if -V flag is passed, to avoid it accidentially being used here... X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=dc8af2bf7e978505080c66b4f8b94f8409113ba2;p=debhelper.git dh_shlibdeps: Warn if -V flag is passed, to avoid it accidentially being used here rather than in dh_makeshlibs. --- diff --git a/debian/changelog b/debian/changelog index 0bb44d6..de98ea7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +debhelper (9.20120609) UNRELEASED; urgency=low + + * dh_shlibdeps: Warn if -V flag is passed, to avoid it accidentially being + used here rather than in dh_makeshlibs. + + -- Joey Hess Thu, 05 Jul 2012 08:51:07 -0600 + debhelper (9.20120608) unstable; urgency=low * dh: When there's an -indep override target without -arch, or vice versa, diff --git a/dh_shlibdeps b/dh_shlibdeps index e941af6..a41732f 100755 --- a/dh_shlibdeps +++ b/dh_shlibdeps @@ -111,6 +111,10 @@ if ($dh{L_PARAMS}) { $dh{L_PARAMS}=join(':', @paths); } +if (defined $dh{V_FLAG}) { + warning("You probably wanted to pass -V to dh_makeshlibs, it has no effect on dh_shlibdeps"); +} + foreach my $package (@{$dh{DOPACKAGES}}) { my $tmp=tmpdir($package); my $ext=pkgext($package);