pgsql: Consolidate makefile code for setting top_srcdir, srcdir and VPA - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Consolidate makefile code for setting top_srcdir, srcdir and VPA
Date
Msg-id E1ZKyXq-00020F-7G@gemulon.postgresql.org
Whole thread Raw
List 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
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/0efa0f62d2f8572e109134f80169aa4224da1b8a

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


pgsql-committers by date:

Previous
From: Noah Misch
Date:
Subject: pgsql: Clean up Makefile.win32 "-I" flag additions.
Next
From: Noah Misch
Date:
Subject: pgsql: Consolidate makefile code for setting top_srcdir, srcdir and VPA