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

From Tom Lane
Subject Re: Makefiles don't seem to remember to rebuild everything anymore
Date
Msg-id 6947.1355894557@sss.pgh.pa.us
Whole thread Raw
In response to Re: Makefiles don't seem to remember to rebuild everything anymore  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Makefiles don't seem to remember to rebuild everything anymore
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Mon, Dec 17, 2012 at 1:34 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> This is definitely not per make's contract, either.  I think maybe the
>> "Don't rebuild the list if only the OBJS have changed" hack in common.mk
>> is a brick or two shy of a load, but I don't know how to fix that.

> I feel like it's been this way for a while - at least I feel like I've
> noticed this before.  I think there is some inevitable kludginess
> around having one makefile per subdirectory that leads to these kinds
> of issues.  Maybe we should get rid of all the makefiles under
> src/backend except for the top-level one and just do everything there.

I mentioned this paper last year, but maybe it's time to start
taking it seriously:
http://aegis.sourceforge.net/auug97.pdf
        regards, tom lane



pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Feature Request: pg_replication_master()
Next
From: Jeevan Chalke
Date:
Subject: Re: too much pgbench init output