Adapt Makefile of the extension for some PGXS versions

Postgresql 9.3.11 doesn't generates $DATA by default.
fixes #4
This commit is contained in:
Javier Goizueta 2016-02-26 19:02:18 +01:00
parent abfda1c75e
commit d885c16db2

View File

@ -28,3 +28,6 @@ REGRESS_OPTS = --inputdir='$(TEST_DIR)' --outputdir='$(TEST_DIR)'
PG_CONFIG = pg_config PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs) PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS) include $(PGXS)
# This seems to be needed at least for PG 9.3.11
all: $(DATA)