1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-05 09:19:17 +03:00

meson: Fix sepgsql installation

The sepgsql.sql file should be installed under share/contrib/, not
share/extension/, since it is not an extension.  This makes it match
what make install does.

Discussion: https://www.postgresql.org/message-id/flat/651a5baf-5c45-4a5a-a202-0c8453a4ebf8@eisentraut.org
This commit is contained in:
Peter Eisentraut 2025-01-24 10:26:12 +01:00
parent 6c9a83f216
commit 24c5b73eb6

View File

@ -37,7 +37,7 @@ contrib_targets += custom_target('sepgsql.sql',
command: [sed, '-e', 's,MODULE_PATHNAME,$libdir/sepgsql,g', '@INPUT@'], command: [sed, '-e', 's,MODULE_PATHNAME,$libdir/sepgsql,g', '@INPUT@'],
capture: true, capture: true,
install: true, install: true,
install_dir: contrib_data_args['install_dir'], install_dir: dir_data / 'contrib',
) )
# TODO: implement sepgsql tests # TODO: implement sepgsql tests