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

Bug#311786: blocked? "missing debian/rules targets to cause lintian error"



Justin Pryzby <justinpryzby@users.sourceforge.net> writes:
> Regarding these bugs:
>
>   #311786: "lintian should definitely put an error for missing
>   debian/rules targets"
>
> merged with
>
>   #88021: "[new check (checks/rules?)] Ensure that debian/rules is a
>   makefile and parse for common problems"
>
> Marc says:
>
>   Due to a problem with make -n (and recursive $(MAKE) calls), this
>   check has been postponed to a later release.
>
> What is the problem with make -n?  Is it fixed?  Is the bug documented
> on Debian BTS?

It's not a bug, so it's not in the BTS.
The problem are rules like this:

binary:
        $(MAKE) -f $(CWD)/debian/rules binary-arch FOO=BAR BAZ=BAR

Though there are other ways to write a Makefile with the same effect,
this is still a commonly used statement that will *not* be covered by
this check. In fact, it often leads to false positives, so the whole
check is disabled. This can't be fixed in make(1), it's a bug in the
proposed check.

Marc
-- 
BOFH #126:
it has Intel Inside

Attachment: pgpaLinD9aWcP.pgp
Description: PGP signature


Reply to: