Bug#148932: Method of checking target capability
Previously Duncan Findlay wrote:
> Firstly, a test to see if something is a makefile can be as simple as
> reading the first line of the file -- does it contain #!/usr/bin/make
> -f (as policy dictates in 5.2)
Wrong. Debian policy is just that, Debian policy. dpkg does not demand
that debian/rules is a makefile and will not rely on make specific
behaviour.
> Secondly, make -q can be called. If it returns with an exit code of 1
> or 0, the target is supported. If it returns with 2, it isn't
> supported.
That exit code is returned anyway even if -q is not used.
> I'd like to see this bug resolved.
FWIW I don't have a real desire to have this fixed quickly, but it will
be fixed in dpkg 1.10 or 1.11.
Wichert.
--
_________________________________________________________________
/wichert@wiggy.net This space intentionally left occupied \
| wichert@deephackmode.org http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
--
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: