Re: Makefiles don't seem to remember to rebuild everything anymore

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: cedric(at)2ndquadrant(dot)com
Cc: Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Makefiles don't seem to remember to rebuild everything anymore
Date: 2012-12-17 16:42:04
Message-ID: 26389.1355762524@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

=?iso-8859-15?q?C=E9dric_Villemain?= <cedric(at)2ndquadrant(dot)com> writes:
> Le lundi 17 dcembre 2012 16:45:16, Tom Lane a crit :
>> Having seen this, I now think .SECONDARY is broken across the board.

> make does what it is supposed to do here IIUC.

Well, it's behaving as documented, but what this means is we need to be
very wary of what contexts we can use .SECONDARY in. I'd just as soon
try to avoid using it at all --- my example with hand-edited gram.c
points out that even rather short dependency chains can have unexpected
misbehaviors if the intermediate files are marked .SECONDARY.

> What was the consensus when Peter did the change ?

It was an experiment, nothing more; or at least that's how I saw it.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Cédric Villemain 2012-12-17 16:49:19 Re: Makefiles don't seem to remember to rebuild everything anymore
Previous Message Cédric Villemain 2012-12-17 16:22:05 Re: Makefiles don't seem to remember to rebuild everything anymore