MINORVERSION = @POSTGIS_MAJOR_VERSION@.@POSTGIS_MINOR_VERSION@
MODULE_big = address_standardizer
EXTENSION = address_standardizer
-DATA = address_standardizer_data_us.control sql/$(EXTENSION).sql sql/$(EXTENSION)_data_us.sql
+DATA = sql/$(EXTENSION).sql sql/$(EXTENSION)_data_us.sql
DATA_built = \
$(EXTENSION).control \
EXTRA_CLEAN += sql/$(EXTENSION)--$(EXTVERSION).sql sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql
EXTRA_CLEAN += sql/$(EXTENSION)--$(EXTVERSION).sql sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql *.a *.so *.dll
-EXTRA_CLEAN += Makefile
+distclean: clean
+ rm Makefile
PGXS := @PGXS@
include $(PGXS)
$(GREP) "[a-zA-Z]" | \
$(PERL) -pe 's/(\d+[a-zA-Z]+)\d*/\1/'
-DATA = $(filter-out $(wildcard sql/*--*.sql),$(wildcard sql/*.sql))
-
DATA_built = \
$(EXTENSION).control \
+ sql/$(EXTENSION)--$(EXTVERSION).sql \
+ sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql \
$(NULL)
REGRESS = test-normalize_address test-upgrade
rm -f $(INSTALLED_UPGRADE_SCRIPTS)
#only extension files
-DATA = ${EXTENSION}.control sql/$(EXTENSION).sql $(wildcard sql/*--*.sql)
EXTRA_CLEAN += $(wildcard expected/*--*.out)
-EXTRA_CLEAN += sql/$(EXTENSION)--$(EXTVERSION).sql sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql
distclean: clean
rm Makefile