DATA_built=postgis_comments.sql raster_comments.sql topology_comments.sql sfcgal_comments.sql
# PGXS information
-PG_CONFIG = @PG_CONFIG@
+PG_CONFIG := @PG_CONFIG@
PGXS := @PGXS@
include $(PGXS)
EXTRA_CLEAN = usps-st-city-name.txt mk-st-regexp mk-city-regex test_main
REGRESS = test-init-extensions test-parseaddress test-standardize_address_1 test-standardize_address_2
-# PGXS information
-PG_CONFIG = @PG_CONFIG@
-
-PGVER := $(shell $(PG_CONFIG) --version)
# Borrow the $libdir substitution from PGXS but customise by running the preprocessor
# and adding the version number
distclean: clean
rm Makefile
+PG_CONFIG := @PG_CONFIG@
PGXS := @PGXS@
include $(PGXS)
PERL = @PERL@
../../raster/rt_pg/rtpostgis_drop.sql \
../../raster/rt_pg/uninstall_rtpostgis.sql
-PG_CONFIG = @PG_CONFIG@
-
SQL_BITS = $(wildcard sql/*.sql)
EXTRA_CLEAN += ${SQL_BITS} sql/*.sql
distclean: clean
rm -f Makefile
-PGXS := $(shell $(PG_CONFIG) --pgxs)
+PG_CONFIG := @PG_CONFIG@
+PGXS := @PGXS@
include $(PGXS)
PERL = @PERL@
EXTENSION_UNPACKAGED_UPGRADE_SCRIPTS = \
sql/rtpostgis.sql
-PG_CONFIG = @PG_CONFIG@
-
SQL_BITS = $(wildcard sql/*.sql)
EXTRA_CLEAN += ${SQL_BITS} sql/*.sql
distclean: clean
rm -f Makefile
-PGXS := $(shell $(PG_CONFIG) --pgxs)
+PG_CONFIG := @PG_CONFIG@
+PGXS := @PGXS@
include $(PGXS)
PERL = @PERL@
sql_bits/sfcgal.sql \
../../utils/create_unpackaged.pl
-PG_CONFIG = @PG_CONFIG@
-
SQL_BITS = $(wildcard sql_bits/*.sql)
EXTRA_CLEAN += sql/*.sql ${SQL_BITS}
distclean: clean
rm Makefile
-PGXS := $(shell $(PG_CONFIG) --pgxs)
+PG_CONFIG := @PG_CONFIG@
+PGXS := @PGXS@
include $(PGXS)
PERL = @PERL@
REGRESS = test-normalize_address test-upgrade
REGRESS_OPTS = --load-extension=fuzzystrmatch --load-extension=postgis --load-extension=$(EXTENSION)
-PG_CONFIG = @PG_CONFIG@
-
SQL_BITS = $(wildcard sql_bits/*.sql)
EXTRA_CLEAN += sql/*.sql ${SQL_BITS}
distclean: clean
rm Makefile
-PGXS := $(shell $(PG_CONFIG) --pgxs)
+PG_CONFIG := @PG_CONFIG@
+PGXS := @PGXS@
include $(PGXS)
PERL=@PERL@
sql_bits/topology_comments.sql \
../postgis_extension_helper_uninstall.sql
-PG_CONFIG = @PG_CONFIG@
-
SQL_BITS = $(wildcard sql_bits/*.sql)
EXTRA_CLEAN += sql/*.sql ${SQL_BITS}
distclean: clean
rm Makefile
-PGXS := $(shell $(PG_CONFIG) --pgxs)
+PG_CONFIG := @PG_CONFIG@
+PGXS := @PGXS@
include $(PGXS)
PERL=@PERL@
# the DESTDIR variable so we can get the correct install paths.
# Hence we include the PGXS Makefile here, but ensure that we override the
# 'all' and 'install' targets with the ones we really want to use below.
-PG_CONFIG = @PG_CONFIG@
+PG_CONFIG := @PG_CONFIG@
PGXS := @PGXS@
include $(PGXS)
geobuf.pb-c.h
# PGXS information
-PG_CONFIG = @PG_CONFIG@
+PG_CONFIG := @PG_CONFIG@
PGXS := @PGXS@
# NO_TEMP_INSTALL is a workaround for a 9.5dev bug. See:
# http://www.postgresql.org/message-id/CAB7nPqTsR5o3g-fBi6jbsVdhfPiLFWQ_0cGU5=94Rv_8W3qvFA@mail.gmail.com
EXTRA_CLEAN=$(SQL_OBJS) $(DATA_built) rtpostgis_upgrade.sql.in rtpostgis_upgrade_for_extension.sql.in
# PGXS information
-PG_CONFIG = @PG_CONFIG@
+PG_CONFIG := @PG_CONFIG@
PGXS := @PGXS@
# NO_TEMP_INSTALL is a workaround for a 9.5dev bug. See:
# http://www.postgresql.org/message-id/CAB7nPqTsR5o3g-fBi6jbsVdhfPiLFWQ_0cGU5=94Rv_8W3qvFA@mail.gmail.com
EXTRA_CLEAN=$(SQL_OBJS) topology_upgrade.sql.in
# PGXS information
-PG_CONFIG = @PG_CONFIG@
+PG_CONFIG := @PG_CONFIG@
PGXS := @PGXS@
# NO_TEMP_INSTALL is a workaround for a 9.5dev bug. See:
# http://www.postgresql.org/message-id/CAB7nPqTsR5o3g-fBi6jbsVdhfPiLFWQ_0cGU5=94Rv_8W3qvFA@mail.gmail.com
DATA_built=postgis_restore.pl
# PGXS information
-PG_CONFIG = @PG_CONFIG@
+PG_CONFIG := @PG_CONFIG@
PGXS := @PGXS@
include $(PGXS)