git-gui: wire up "git-gui--askyesno" with Meson
The new "git-gui--askyesno" helper script has only been wired up for our Makefile, not for Meson. Wire it up properly to bring both build systems on par with each other again. Signed-off-by: Patrick Steinhardt <ps@pks.im>
Patrick Steinhardt committed
Feb 10, 2026 at 14:19 UTC
65d3a128842c4eedf4c91828061d948df1ae14f2
1 file changed
+15
-13
meson.build
+15
-13
@@ -54,19 +54,21 @@ if target_machine.system() == 'windows'
54
)
55
endif
56
57
-custom_target(
58
- output: 'git-gui--askpass',
59
- input: 'git-gui--askpass.sh',
60
- command: [
61
- shell,
62
- meson.current_source_dir() / 'generate-script.sh',
63
- '@OUTPUT@',
64
- '@INPUT@',
65
- meson.current_build_dir() / 'GIT-GUI-BUILD-OPTIONS',
66
- ],
67
- install: true,
68
- install_dir: get_option('libexecdir') / 'git-core',
69
-)
57
+foreach script : [ 'git-gui--askpass', 'git-gui--askyesno' ]
58
+ custom_target(
59
+ output: script,
60
+ input: script + '.sh',
61
+ command: [
62
+ shell,
63
+ meson.current_source_dir() / 'generate-script.sh',
64
+ '@OUTPUT@',
65
+ '@INPUT@',
66
+ meson.current_build_dir() / 'GIT-GUI-BUILD-OPTIONS',
67
+ ],
68
+ install: true,
69
+ install_dir: get_option('libexecdir') / 'git-core',
70
+ )
71
+endforeach
72
73
custom_target(
74
input: 'git-gui.sh',