diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-02-10 14:19:28 +0100 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2026-02-17 06:59:30 +0100 |
| commit | 65d3a128842c4eedf4c91828061d948df1ae14f2 (patch) | |
| tree | 0ecbdd1b483e8fe2cd022ae26590ea33630ccf2f | |
| parent | d4fa9a6aef48ec9660de2be937418ec1d802aad4 (diff) | |
| download | git-65d3a128842c4eedf4c91828061d948df1ae14f2.tar.xz | |
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>
| -rw-r--r-- | meson.build | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/meson.build b/meson.build index a2156f01e3..a8119aa29f 100644 --- a/meson.build +++ b/meson.build @@ -54,19 +54,21 @@ if target_machine.system() == 'windows' ) endif -custom_target( - output: 'git-gui--askpass', - input: 'git-gui--askpass.sh', - command: [ - shell, - meson.current_source_dir() / 'generate-script.sh', - '@OUTPUT@', - '@INPUT@', - meson.current_build_dir() / 'GIT-GUI-BUILD-OPTIONS', - ], - install: true, - install_dir: get_option('libexecdir') / 'git-core', -) +foreach script : [ 'git-gui--askpass', 'git-gui--askyesno' ] + custom_target( + output: script, + input: script + '.sh', + command: [ + shell, + meson.current_source_dir() / 'generate-script.sh', + '@OUTPUT@', + '@INPUT@', + meson.current_build_dir() / 'GIT-GUI-BUILD-OPTIONS', + ], + install: true, + install_dir: get_option('libexecdir') / 'git-core', + ) +endforeach custom_target( input: 'git-gui.sh', |
