diff --git a/Makefile b/Makefile index 4abaab4..5f1a2ba 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,11 @@ EXTENSION = vector +EXTVERSION = 0.1.2 + DATA = sql/vector--0.1.1.sql sql/vector--0.1.0--0.1.1.sql MODULE_big = vector OBJS = src/ivfbuild.o src/ivfflat.o src/ivfinsert.o src/ivfkmeans.o src/ivfscan.o src/ivfutils.o src/ivfvacuum.o src/vector.o TESTS = $(wildcard test/sql/*.sql) - REGRESS = $(patsubst test/sql/%.sql,%,$(TESTS)) REGRESS_OPTS = --inputdir=test @@ -33,4 +34,4 @@ prove_installcheck: dist: mkdir -p dist - git archive --format zip --prefix=vector-0.1.2/ --output dist/vector-0.1.2.zip master + git archive --format zip --prefix=$(EXTENSION)-$(EXTVERSION)/ --output dist/$(EXTENSION)-$(EXTVERSION).zip master