pgsql: Make ECPG test programs depend on "ecpg$(X)", not "ecpg".

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make ECPG test programs depend on "ecpg$(X)", not "ecpg".
Date: 2014-11-03 02:48:09
Message-ID: E1Xl7gf-00066m-6l@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make ECPG test programs depend on "ecpg$(X)", not "ecpg".

Cygwin builds require this of dependencies pertaining to pattern rules.
On Cygwin, stat("foo") in the absence of a file with that exact name can
locate foo.exe. While GNU make uses stat() for dependencies of ordinary
rules, it uses readdir() to assess dependencies of pattern rules.
Therefore, a pattern rule dependency should match any underlying file
name exactly. Back-patch to 9.4, where the dependency was introduced.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/67a412049489f554c3a552bd523cefd30d038221

Modified Files
--------------
src/interfaces/ecpg/test/Makefile.regress | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-11-03 16:12:08 pgsql: Docs: fix incorrect spelling of contrib/pgcrypto option.
Previous Message Peter Eisentraut 2014-11-03 01:18:38 pgsql: Fix generation of INSTALL file by removing link