diff --git a/external/pgvector/Makefile b/external/pgvector/Makefile index 270cce1a5c9..98147b95c1d 100644 --- a/external/pgvector/Makefile +++ b/external/pgvector/Makefile @@ -2,7 +2,8 @@ EXTENSION = vector EXTVERSION = 0.6.2 MODULE_big = vector -DATA = $(wildcard sql/*--*.sql) +DATA = $(wildcard sql/*--*--*.sql) +DATA_built = sql/$(EXTENSION)--$(EXTVERSION).sql OBJS = src/hnsw.o src/hnswbuild.o src/hnswinsert.o src/hnswscan.o src/hnswutils.o src/hnswvacuum.o src/ivfbuild.o src/ivfflat.o src/ivfinsert.o src/ivfkmeans.o src/ivfscan.o src/ivfutils.o src/ivfvacuum.o src/vector.o HEADERS = src/vector.h @@ -41,8 +42,6 @@ all: sql/$(EXTENSION)--$(EXTVERSION).sql sql/$(EXTENSION)--$(EXTVERSION).sql: sql/$(EXTENSION).sql cp $< $@ -# EXTRA_CLEAN = sql/$(EXTENSION)--$(EXTVERSION).sql - ifdef USE_PGXS PG_CONFIG = pg_config PGXS := $(shell $(PG_CONFIG) --pgxs)