Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> > I think I have finally figured out a way to do this correctly now.
>
> Yay. The existing method completely sucks --- I find that it *never*
> does one run on a rebuild, but at least two and sometimes three.
> I don't know whether it's feasible to implement "rebuild only if the
> index changed" in make, but we definitely haven't got that now, so
> eliminating the attempt is no hardship.
Peter is spot-on when he says having a file name mean different things
at different stages of the build process is a mess.
-- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB
http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +