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: pgsql-hackers(at)postgresql(dot)org, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: Makefiles don't seem to remember to rebuild everything anymore
Date: 2012-12-15 16:23:36
Message-ID: 24187.1355588616@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 vendredi 14 dcembre 2012 23:02:11, Tom Lane a crit :
>> $ rm gram.o
>> rm: remove regular file `gram.o'? y
>> $ make
>> make: Nothing to be done for `all'.
>>
>> WTF?

> A previous patch changed the ".SECONDARY" from an if() section to the main
> section of src/Makefile.global.in,

Hm. I should have made clear that this isn't specific to gram.o ---
I also tried "rm analyze.o" and that didn't trigger any action either.
So it doesn't seem to be a case of the bison rule chain being
specifically at fault.

I do suspect that this was triggered by some fairly recent makefile
change, though, because I don't recall having seen anything as odd
as this until recently.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2012-12-15 16:45:36 Re: Set visibility map bit after HOT prune
Previous Message Erik Rijkers 2012-12-15 13:24:05 Re: small pg_basebackup display bug