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:53:28
Message-ID: 20080227135328.GC5694@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera wrote:

> 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.

I think this can be used with a conditional like

ifneq (,$(findstring order-only,$(.FEATURES)))
...
endif

I am not sure I understand the problem being complained about to propose
a more specific patch.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message cristianopintado 2008-02-27 14:10:41 select avanced
Previous Message Alvaro Herrera 2008-02-27 13:00:24 Re: Required make version