Re: Required make version - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Required make version
Date
Msg-id 20080227130024.GA5694@alvh.no-ip.org
Whole thread Raw
In response to Re: Required make version  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Required make version
List pgsql-hackers
Peter Eisentraut wrote:

> Using the order-only prerequisites feature, which is what is failing with the 
> old make version, solves item 1).
> 
> The alternative is your suggestion
> 
>     If the dependencies
>     need to stay as they are, maybe we could avoid the annoyance by having
>     make not print the echo command.
> 
> but I'm not a friend of hiding commands because you don't know what is going 
> on and it will come back to bite you.

How about we use order-only prerequisite only if present, and use the
ugly or undesirable way as fallback?  I see that you can find out if
your Make version supports it by checking .FEATURES.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: "Florian G. Pflug"
Date:
Subject: Re: An idea for parallelizing COPY within one backend
Next
From: Alvaro Herrera
Date:
Subject: Re: Required make version