pgvector.git / summary / log / commit / refs
commit 6119cced74095bdfded4e8ee919f8685e47cd032
Author: Andrew Kane <andrew@ankane.org>
Date: Thu May 06 08:40:32 2021 +0000
Improved Makefile [skip ci]
Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 4abaab4e..5f1a2bac 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
[parent: f8c07edba152]