1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From: Ole Streicher <olebole@debian.org>
Date: Mon, 7 Aug 2017 13:32:42 +0200
Subject: Replace "wildcard" list with static list of files
wildcard does not work here (?), and there is only one item anyway.
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 54fbec2..e800626 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
EXTENSION = q3c
-EXTVERSION := $(shell grep default_version $(EXTENSION).control | \
+EXTVERSION := $(shell grep default_version ../$(EXTENSION).control | \
sed -e "s/default_version[[:space:]]*=[[:space:]]*'\([^']*\)'/\1/")
DOCS = README.md
OBJS = dump.o q3c.o q3c_poly.o q3cube.o
MODULE_big = q3c
-DATA = $(wildcard scripts/*sql)
+DATA = scripts/q3c--$(EXTVERSION).sql
PG_CONFIG = pg_config
SHLIB_LINK += $(filter -lm, $(LIBS))
EXTRA_CLEAN = dump.c prepare prepare.o gen_data.o \
|