pgvector.git / summary / log / commit / refs
commit c7ca7f05de6f1886ec6fa704588301dfce435480
Author: Andrew Kane <andrew@ankane.org>
Date: Wed Jul 24 08:30:22 2024 +0000
Fixed installation when make is not run before make install - closes #631
Makefile | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 34cdf0d0..988fb5f4 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,8 @@ EXTENSION = vector
EXTVERSION = 0.7.3
MODULE_big = vector
-DATA = $(wildcard sql/*--*.sql)
+DATA = $(wildcard sql/*--*--*.sql)
+DATA_built = sql/$(EXTENSION)--$(EXTVERSION).sql
OBJS = src/bitutils.o src/bitvec.o src/halfutils.o src/halfvec.o 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/sparsevec.o src/vector.o
HEADERS = src/halfvec.h src/sparsevec.h src/vector.h
@@ -42,8 +43,6 @@ all: sql/$(EXTENSION)--$(EXTVERSION).sql
sql/$(EXTENSION)--$(EXTVERSION).sql: sql/$(EXTENSION).sql
cp $< $@
-EXTRA_CLEAN = sql/$(EXTENSION)--$(EXTVERSION).sql
-
PG_CONFIG ?= pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
[parent: 4733cf253b4e]