Bug#510869: lintian: binary-arch-rules-but-pkg-is-arch-indep warning is contrary to policy
Gerfried Fuchs <rhonda@debian.at> writes:
> #v+
>
> # Build architecture-dependent files here.
> binary-arch:
> # NOOP
>
>
> define checkdir
> test -f debian/rules
> endef
> #v-
Oh, ugh. Since there's no intervening make target, Lintian thinks that
define is part of the binary-arch rule, when really it's separate.
I think the easiest fix is for lintian to consider a rule to be at an end
if it sees a define command. In theory you could intersperse define
commands and shell commands for a target, but hopefully no one is doing
that.
This will be fixed in the next release of Lintian.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: