[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#482086: lintian should not parse debian/rules but use debian/rules -nq <target> instead



Pierre Habouzit <madcoder@debian.org> writes:

> Package: lintian
> Version: 1.23.48
> Severity: normal
>
>   When using implicit rules, like %:, you won't see the target name
> spelled out explicitly.
>
>   The proper way to do is to use the -q gnu make feature to know for
> sure if the target is here.

We tried to do this earlier and it broken horribly because when you use
make -n, you can get false negatives, and if you don't use -n, well,
obviously bad things happen.

If you have a tested patch, we'll reconsider, but we're probably not going
to put further effort into trying to make this work and instead will just
skip the analysis if we see implicit rules we don't understand.  If you
have cases where lintian is producing false positives, please let us know.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: