pgsql: Consolidate makefile code for setting top_srcdir, srcdir and VPA

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Consolidate makefile code for setting top_srcdir, srcdir and VPA
Date: 2015-07-31 00:51:30
Message-ID: E1ZKyXq-000208-6v@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Consolidate makefile code for setting top_srcdir, srcdir and VPATH.

Responsibility was formerly split between Makefile.global and pgxs.mk.
As a result of commit b58233c71b93a32fcab7219585cafc25a27eb769, in the
PGXS case, these variables were unset while parsing Makefile.global and
callees. Inclusion of Makefile.custom did not work from PGXS, and the
subtle difference seemed like a recipe for future bugs. Back-patch to
9.4, where that commit first appeared.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5da944fb4683762b8ccebbf7599f79db01e63132

Modified Files
--------------
src/Makefile.global.in | 21 ++++++++++++++++++---
src/makefiles/pgxs.mk | 15 ---------------
2 files changed, 18 insertions(+), 18 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-07-31 23:26:48 pgsql: Fix an oversight in checking whether a join with LATERAL refs is
Previous Message Alvaro Herrera 2015-07-30 18:21:41 pgsql: Fix volatility marking of commit timestamp functions