Re: Contrib PROGRAM problem - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Contrib PROGRAM problem
Date
Msg-id 50FA27CB.9090005@dunslane.net
Whole thread Raw
In response to Re: Contrib PROGRAM problem  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 01/18/2013 11:42 PM, Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> This patch seems to do the right thing.
> Hmm ... seems kinda grotty ... isn't there a cleaner way?
>
>> It probably needs to be applied to all the live branches.
> Agreed on back-patching once we have the right thing, but I don't like
> this version too much.
>
>             

I'm happy of you can find something cleaner.

We can't just have a dependency of all on $(PROGRAM)($X) because if 
PROGRAM is empty but X is not it will do something horrid like try to 
build ".exe".

If we do it the way Zoltan suggested then on Windows even if 
$(PROGRAM)$(X) exists and is up to date it could be rebuilt, since the 
target name won't exist.

cheers

andrew



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Contrib PROGRAM problem
Next
From: Peter Eisentraut
Date:
Subject: Re: Contrib PROGRAM problem