Re: pgsql/src (Makefile.global.in) - Mailing list pgsql-committers

From Peter Eisentraut
Subject Re: pgsql/src (Makefile.global.in)
Date
Msg-id Pine.LNX.4.30.0012300236451.822-100000@peter.localdomain
Whole thread Raw
In response to Re: pgsql/src (Makefile.global.in)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql/src (Makefile.global.in)
List pgsql-committers
Tom Lane writes:

> Huh?  There is only one config.status, and it'll update all its output
> files whenever it runs.  I don't see the issue.

The rules in the makefiles cause config.status to only update the file
that triggered the rule.  E.g.,

GNUmakefile: GNUmakefile.in $(top_builddir)/config.status
    CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status

(Yes, this interface is incredibly stupid.)

> >> In particular, touching it before creating config.status is guaranteed
> >> to lose.
>
> > Exactly why?
>
> Excess runs of config.status.  stamp-h has to be touched after making
> config.status, not before.

Ok, now I see it.  I guess we'll have to go back to forcing a touch of
config.h after config.status runs in order to get this to work properly.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql/src (Makefile.global.in)
Next
From: tgl@postgresql.org
Date:
Subject: pgsql/src/backend/storage/ipc (ipc.c)