Tom Lane writes:
> > 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.)
>
> 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.
Say I change backend/port/Makefile.in, then run make, then config.status
should not update Makefile.global, because that will trigger a bunch of
other rules (e.g., initdb) that I didn't ask for.
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/