MODULE_big = pg_dbms_stats
OBJS = pg_dbms_stats.o dump.o import.o
-DBMSSTATSVER=1.3.2
+DBMSSTATSVER = 1.3.2
ifdef UNIT_TEST
PG_CPPFLAGS = -DUNIT_TEST
REGRESS_OPTS = --encoding=UTF8 --temp-config=regress.conf --extra-install=contrib/file_fdw
-DOCS = export_effective_stats.sql.sample export_plain_stats.sql.sample
+DOCS = export_effective_stats-$(MAJORVERSION).sql.sample \
+ export_plain_stats-$(MAJORVERSION).sql.sample
STARBALL = pg_dbms_stats-$(DBMSSTATSVER).tar.gz
STARBALL92 = pg_dbms_stats92-$(DBMSSTATSVER).tar.gz
$(DATA): %.sql: %-$(MAJORVERSION).sql
cp $< $@
-$(DOCS): %.sql.sample: %-$(MAJORVERSION).sql.sample
- cp $< $@
-
$(STARBALLS): $(TARSOURCES)
if [ -h $(subst .tar.gz,,$@) ]; then rm $(subst .tar.gz,,$@); fi
if [ -e $(subst .tar.gz,,$@) ]; then \