pgsql: Fix missing dependencies in ecpg's test Makefiles.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix missing dependencies in ecpg's test Makefiles.
Date: 2014-05-09 02:34:57
Message-ID: E1WiaeH-0005VK-RP@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/14d309cc55d88b73d4c9d1fa51b535ae491405fd

Modified Files
--------------
src/interfaces/ecpg/test/Makefile.regress | 21 +++++++++++++---
src/interfaces/ecpg/test/compat_informix/Makefile | 28 +++------------------
src/interfaces/ecpg/test/preproc/Makefile | 16 ++++++------
src/interfaces/ecpg/test/sql/Makefile | 4 +--
4 files changed, 31 insertions(+), 38 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-05-09 09:49:12 pgsql: Avoid some pnstrdup()s when constructing jsonb
Previous Message Tom Lane 2014-05-09 01:46:05 pgsql: Document permissions needed for pg_database_size and pg_tablespa