From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | cedric(at)2ndquadrant(dot)com |
Cc: | pgsql-hackers(at)postgresql(dot)org, Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net> |
Subject: | Re: Makefiles don't seem to remember to rebuild everything anymore |
Date: | 2012-12-17 17:15:19 |
Message-ID: | 27114.1355764519@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 17:42:04, Tom Lane a crit :
>> 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.
> "touch gram.c" then "make" will build again the affected files.
Yes ... but still with the modified contents of gram.c, so this doesn't
solve the problem I described. I want make to regenerate the file in
question, not (only) its derived files.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2012-12-17 17:39:29 | Error restoring from a base backup taken from standby |
Previous Message | Pavan Deolasee | 2012-12-17 17:02:58 | Re: Makefiles don't seem to remember to rebuild everything anymore |