]> granicus.if.org Git - postgresql/commitdiff
Don't overwrite EXTRA_INSTALL
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 26 Apr 2015 00:57:58 +0000 (20:57 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 26 Apr 2015 01:00:39 +0000 (21:00 -0400)
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.

src/makefiles/pgxs.mk

index ea17b1c1858624d196776cf2a65913d4776137b7..08e25da72319198550611f7ad151b8812c68e20e 100644 (file)
@@ -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