On Mon, Jul 02, 2007 at 09:26:23PM -0700, Steve Langasek wrote:
> I believe the attached patch has the following characteristics:
> - Behavior on systems where 'make' is not GNU make is undefined.
>   Specifically, on such a system dpkg is likely to either conclude that
>   /all/ packages support 'build-arch', or that /none/ of them support
>   'build-arch', depending on whether and how 'make -qn' fails.

Too bad, both Solaris and BSD make fail the bad way, returning 1 on a bad
target -- and neither has -v or --version.  I haven't checked the rest, but
it's likely they behave the same way.

So, an idea: what about checking "make -f /dev/null blah 2>/dev/null" first,
for some portability?

-- 
1KB             // Microsoft corollary to Hanlon's razor:
                //      Never attribute to stupidity what can be
                //      adequately explained by malice.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to