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 fd4c4ede70
commit 02ed3c2bdc

View File

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