mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
f8ebe3bcc5
Added a new option --extra-install to pg_regress to arrange installing the respective contrib directory into the temporary installation. This is currently not yet supported for Windows MSVC builds. Updated the .gitignore files for contrib modules to ignore the leftovers of a temp-install check run. Changed the exit status of "make check" in a pgxs build (which still does nothing) to 0 from 1. Added "make check" in contrib to top-level "make check-world".
23 lines
503 B
Makefile
23 lines
503 B
Makefile
# contrib/earthdistance/Makefile
|
|
|
|
MODULES = earthdistance
|
|
|
|
EXTENSION = earthdistance
|
|
DATA = earthdistance--1.0.sql earthdistance--unpackaged--1.0.sql
|
|
|
|
REGRESS = earthdistance
|
|
REGRESS_OPTS = --extra-install=contrib/cube
|
|
|
|
LDFLAGS_SL += $(filter -lm, $(LIBS))
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = contrib/earthdistance
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|