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

From Tom Lane
Subject Re: pgsql/src (Makefile.global.in)
Date
Msg-id 3538.978200107@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql/src (Makefile.global.in)  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: pgsql/src (Makefile.global.in)  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-committers
Peter Eisentraut <peter_e@gmx.net> writes:
>> Uh, why don't we just make it generate all its output files each time?

> Because the commands in a rule should generally only update the target
> file.

If you insist ...

Perhaps the answer is to treat stamp-h as a real output file (ie,
generated from a stamp-h.in file) rather than hacking it into place
as an AC_OUTPUT extra command.  It looks to me like config.status
only does the keep-the-old-timestamp bit for CONFIG_HEADERS files,
not CONFIG_FILES files, so classifying stamp-h as the latter kind
would make things work.

            regards, tom lane

pgsql-committers by date:

Previous
From: petere@postgresql.org
Date:
Subject: pgsql/doc/src/sgml/ref (pgaccess-ref.sgml)
Next
From: petere@postgresql.org
Date:
Subject: pgsql/doc/src/sgml/ref (create_table.sgml)