On 2012-07-05 16:19, Joey Hess wrote: > Niels Thykier wrote: >> As far as I can tell dh_shlibdeps does not use -V (its manpage does >> not mention it at all) and it was probably intended for dh_makeshlibs. > > -V is amoung some debhelper options that is available to, and used for > different purposes by multiple commands (dh_makeshlibs, dh_perl, > dh_python). It's part of debhelper's API for writing additional > debhelper programs, which makes it difficult to remove it from the > global parameter list and move it into the per-command params. >
That is a reasonable argument for accepting the -V flag, but would it be possible for dh_shlibdeps to at least warn if passed -V (or -V<someting>)? It seems to me that could lead to a silent wrong dependency if a "careless maintainer" was to pass -V to dh_shlibdeps instead of dh_makeshlibs. I believe something like: """ if ($dh{V_FLAG}) { warning("You probably wanted to pass -V to dh_makeshlibs [...]"); } """ should do the trick. ~Niels -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org