summaryrefslogtreecommitdiff
path: root/src/makefiles
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2015-04-25 20:57:58 -0400
committerPeter Eisentraut <peter_e@gmx.net>2015-04-25 21:00:39 -0400
commitee8d392765f29b1b8adb52f75008e301823f094b (patch)
treefe9d63813b9c9c7d731e0cfd934c83f41dfe0142 /src/makefiles
parent3cf8686014f91174018f20e01dbb0dafdcad0473 (diff)
downloadpostgresql-ee8d392765f29b1b8adb52f75008e301823f094b.tar.gz
Don't overwrite EXTRA_INSTALL
The temp-install target sets EXTRA_INSTALL to install the current directory. But when doing so, it should append instead of overwrite, otherwise settings of EXTRA_INSTALL from a makefile won't take effect. This would cause the earthdistance test to fail when called directly, because it would miss installing the cube module.
Diffstat (limited to 'src/makefiles')
-rw-r--r--src/makefiles/pgxs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefiles/pgxs.mk b/src/makefiles/pgxs.mk
index ea17b1c185..08e25da723 100644
--- a/src/makefiles/pgxs.mk
+++ b/src/makefiles/pgxs.mk
@@ -294,7 +294,7 @@ else
check: all submake $(REGRESS_PREP)
$(pg_regress_check) $(REGRESS_OPTS) $(REGRESS)
-temp-install: EXTRA_INSTALL=$(subdir)
+temp-install: EXTRA_INSTALL+=$(subdir)
endif
endif # REGRESS