Re: Required make version

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Required make version
Date: 2008-02-27 13:00:24
Message-ID: 20080227130024.GA5694@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2008-02-27 13:53:28 Re: Required make version
Previous Message Florian G. Pflug 2008-02-27 12:47:55 Re: An idea for parallelizing COPY within one backend