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.
This commit is contained in:
Peter Eisentraut 2015-04-25 20:57:58 -04:00
parent 3cf8686014
commit ee8d392765

View File

@ -294,7 +294,7 @@ else
check: all submake $(REGRESS_PREP) check: all submake $(REGRESS_PREP)
$(pg_regress_check) $(REGRESS_OPTS) $(REGRESS) $(pg_regress_check) $(REGRESS_OPTS) $(REGRESS)
temp-install: EXTRA_INSTALL=$(subdir) temp-install: EXTRA_INSTALL+=$(subdir)
endif endif
endif # REGRESS endif # REGRESS