Fix missing dependencies in ecpg's test Makefiles.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 9 May 2014 02:34:51 +0000 (22:34 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 9 May 2014 02:34:51 +0000 (22:34 -0400)
commit14d309cc55d88b73d4c9d1fa51b535ae491405fd
treea09aa96868f7208d67ffc1fa9dd04dbc88d3cde0
parentfb1974cc6b58cd21a269dd7ab8aea0120906ec3b
Fix missing dependencies in ecpg's test Makefiles.

Ensure that ecpg preprocessor output files are rebuilt when re-testing
after a change in the ecpg preprocessor itself, or a change in any of
several include files that get copied verbatim into the output files.
The lack of these dependencies was what created problems for Kevin Grittner
after the recent pgindent run.  There's no way for --enable-depend to
discover these dependencies automatically, so we've gotta put them into
the Makefiles by hand.

While at it, reduce the amount of duplication in the ecpg invocations.
src/interfaces/ecpg/test/Makefile.regress
src/interfaces/ecpg/test/compat_informix/Makefile
src/interfaces/ecpg/test/preproc/Makefile
src/interfaces/ecpg/test/sql/Makefile