File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ OBJS = src/rumsort.o src/rum_ts_utils.o src/rumtsquery.o \
1313
1414DATA = rum--1.0.sql
1515DATA_updates = rum--1.0--1.1.sql rum--1.1--1.2.sql
16- DATA_built = rum--$(EXTVERSION ) .sql $(DATA_updates )
16+ SQL_built = rum--$(EXTVERSION ) .sql $(DATA_updates )
1717
1818INCLUDES = rum.h rumsort.h
1919RELATIVE_INCLUDES = $(addprefix src/, $(INCLUDES ) )
4747wal-check : temp-install
4848 $(prove_check )
4949
50- all : rum-- $( EXTVERSION ) .sql
50+ all : $( SQL_built )
5151
5252# 9.6 requires 1.2 file but 10.0 could live with update files
5353rum--$(EXTVERSION ) .sql : $(DATA ) $(DATA_updates )
@@ -62,11 +62,13 @@ install: installincludes
6262installincludes :
6363 $(INSTALL ) -d ' $(DESTDIR)$(includedir_server)/'
6464 $(INSTALL_DATA ) $(addprefix $(srcdir ) /, $(RELATIVE_INCLUDES ) ) ' $(DESTDIR)$(includedir_server)/'
65+ $(INSTALL_DATA ) $(SQL_built ) ' $(DESTDIR)$(datadir)/$(datamoduledir)/'
6566
6667uninstall : uninstallincludes
6768
6869uninstallincludes :
6970 rm -f $(addprefix '$(DESTDIR )$(includedir_server ) /', $(INCLUDES ) )
71+ rm -f $(addprefix '$(DESTDIR )$(datadir ) /$(datamoduledir ) '/, $(notdir $(SQL_built ) ) )
7072
7173ISOLATIONCHECKS = predicate-rum predicate-rum-2
7274
You can’t perform that action at this time.
0 commit comments