OSDN Git Service

Change the name of export script samples
authorKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Mon, 9 Jun 2014 05:51:06 +0000 (14:51 +0900)
committerKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Mon, 9 Jun 2014 06:25:13 +0000 (15:25 +0900)
Makefile

index 292bd17..ecb704a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 
 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
@@ -19,7 +19,8 @@ REGRESS = init-common ut_fdw_init init-$(MAJORVERSION) ut-common \
 
 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
@@ -68,9 +69,6 @@ sourcetar: $(STARBALL)
 $(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 \