Re: Makefiles don't seem to remember to rebuild everything anymore - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Makefiles don't seem to remember to rebuild everything anymore
Date
Msg-id 50CF2C35.1020909@dunslane.net
Whole thread Raw
In response to Re: Makefiles don't seem to remember to rebuild everything anymore  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Makefiles don't seem to remember to rebuild everything anymore
List pgsql-hackers
On 12/17/2012 08:46 AM, Peter Eisentraut wrote:
> On 12/15/12 11:23 AM, Tom Lane wrote:
>> Cédric Villemain <cedric@2ndquadrant.com> writes:
>>> Le vendredi 14 décembre 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,
>>

>
> Although it's a bit odd, it's not really a problem, I think.  If you
> want to rebuild analyze.o, you should write "make analyze.o".  If you
> want to rebuild postgres, run make in src/backend, and analyze.o (or
> whatever) will be rebuilt.
>
>
>


That's a pretty nasty violation of the POLA. If our leading developer
thinks something about our build process is a problem, it's a problem.

cheers

andrew




pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pg_basebackup from cascading standby after timeline switch
Next
From: Dimitri Fontaine
Date:
Subject: Re: Enabling Checksums