]> granicus.if.org Git - postgresql/commit
Consolidate makefile code for setting top_srcdir, srcdir and VPATH.
authorNoah Misch <noah@leadboat.com>
Fri, 31 Jul 2015 00:48:41 +0000 (20:48 -0400)
committerNoah Misch <noah@leadboat.com>
Fri, 31 Jul 2015 00:49:18 +0000 (20:49 -0400)
commitc7446194fa8fbbb9e8d948668bb47563ab58f45f
tree7388d3d6e1d62b3e080225262f07466e1e5347da
parent71b66e78e432d99325db6356f056cb3f03b3d7b7
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.
src/Makefile.global.in
src/makefiles/pgxs.mk