Skip to content

Commit 31cbd3f

Browse files
author
Alexander Korotkov
committed
Install jsquery.h
It's going to be separate jsquery_rum extension with RUM opclass supporting jsquery operators. Thus, we need to expose jsquery.h to other extensions. So, install jsquery.h in the same way we do it for rum.h.
1 parent 1ef3ad2 commit 31cbd3f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ OBJS = jsonb_gin_ops.o jsquery_constr.o jsquery_extract.o \
66

77
EXTENSION = jsquery
88
DATA = jsquery--1.0.sql
9+
INCLUDES = jsquery.h
910

1011
REGRESS = jsquery
1112
# We need a UTF8 database
@@ -34,3 +35,7 @@ distprep: jsquery_gram.c jsquery_scan.c
3435
maintainer-clean:
3536
rm -f jsquery_gram.c jsquery_scan.c jsquery_gram.h
3637

38+
install: installincludes
39+
40+
installincludes:
41+
$(INSTALL_DATA) $(addprefix $(srcdir)/, $(INCLUDES)) '$(DESTDIR)$(includedir)/'

0 commit comments

Comments
 (0)