Skip to content

Commit 0183d56

Browse files
authored
Merge pull request #143 from postgrespro/meson_build_master
Update meson.build to sync with Makefile.
2 parents 8344a0d + 049b40c commit 0183d56

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

@@ -94,7 +101,9 @@ tests += {
94101
'tap': {
95102
'tests': [
96103
't/001_wal.pl',
104+
't/002_pglist.pl',
97105
],
106+
'test_kwargs': {'timeout': 3000},
98107
},
99108
'isolation': {
100109
'specs': [

0 commit comments

Comments
 (0)