mirror of
https://github.com/git-for-windows/git.git
synced 2026-04-25 10:46:46 -05:00
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>
This commit is contained in:
28
meson.build
28
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',
|
||||
|
||||
Reference in New Issue
Block a user