meson: Fix missing dependency from install-quiet to sepgsql.sql
authorAndres Freund <[email protected]>
Sat, 18 Nov 2023 00:29:48 +0000 (16:29 -0800)
committerAndres Freund <[email protected]>
Sat, 18 Nov 2023 00:29:48 +0000 (16:29 -0800)
This could lead to an error like

ERROR: File 'contrib/sepgsql/sepgsql.sql' could not be found

Back: 16-, where meson was added

contrib/sepgsql/meson.build

index 5dbbe312b9f52b7ab5795e20c55508c5ecdd2625..c8e518b49c0de21163268b2ddb55cec0438f367d 100644 (file)
@@ -31,7 +31,7 @@ sepgsql = shared_module('sepgsql',
 )
 contrib_targets += sepgsql
 
-custom_target('sepgsql.sql',
+contrib_targets += custom_target('sepgsql.sql',
   input: 'sepgsql.sql.in',
   output: 'sepgsql.sql',
   command: [sed, '-e', 's,MODULE_PATHNAME,$libdir/sepgsql,g', '@INPUT@'],