meson: Fix sepgsql installation
authorPeter Eisentraut
Fri, 24 Jan 2025 09:26:12 +0000 (10:26 +0100)
committerPeter Eisentraut
Fri, 24 Jan 2025 09:26:12 +0000 (10:26 +0100)
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

contrib/sepgsql/meson.build

index a7c1efa70a82e1d00bf2d0adc2ed2a4752b4b3ff..d8085b10ee533c55d91daed7eb04ae186221cf27 100644 (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