Skip to content

Commit 049b40c

Browse files
committed
Update meson.build to sync with Makefile.
1 parent b6e5430 commit 049b40c

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

meson.build

+13-4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Does not support the PGXS infrastructure at this time. Please, compile as part
44
# of the contrib source tree.
55

6+
extension = 'rum'
7+
extversion = '1.3'
8+
69
rum_sources = files(
710
'src/btree_rum.c',
811
'src/rum_arr_utils.c',
@@ -33,15 +36,19 @@ rum = shared_module('rum',
3336
)
3437
contrib_targets += rum
3538

39+
configure_file(
40+
input: 'rum_init.sql',
41+
output: extension + '--' + extversion + '.sql',
42+
copy: true,
43+
install: true,
44+
install_dir: contrib_data_args['install_dir'],
45+
)
46+
3647
install_data(
3748
'rum.control',
3849
'rum--1.0--1.1.sql',
39-
'rum--1.0.sql',
4050
'rum--1.1--1.2.sql',
41-
'rum--1.1.sql',
4251
'rum--1.2--1.3.sql',
43-
'rum--1.2.sql',
44-
'rum--1.3.sql',
4552
kwargs: contrib_data_args,
4653
)
4754

@@ -91,6 +98,8 @@ tests += {
9198
'tap': {
9299
'tests': [
93100
't/001_wal.pl',
101+
't/002_pglist.pl',
94102
],
103+
'test_kwargs': {'timeout': 3000},
95104
},
96105
}

0 commit comments

Comments
 (0)