mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-29 17:21:16 +08:00
Improved Makefile [skip ci]
This commit is contained in:
5
Makefile
5
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
|
||||
|
||||
Reference in New Issue
Block a user