From dc8af2bf7e978505080c66b4f8b94f8409113ba2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 5 Jul 2012 08:51:40 -0600 Subject: [PATCH] dh_shlibdeps: Warn if -V flag is passed, to avoid it accidentially being used here rather than in dh_makeshlibs. --- debian/changelog | 7 +++++++ dh_shlibdeps | 4 ++++ 2 files changed, 11 insertions(+) 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); -- 2.39.2