Raw
1 project('gitk')
2
3 shell = find_program('sh')
4 wish = find_program('wish')
5
6 # Verify that dependencies of "generate-tcl.sh" are satisfied.
7 foreach dependency : [ 'chmod', 'mv', 'sed' ]
8 find_program(dependency)
9 endforeach
10
11 custom_target(
12 command: [
13 shell,
14 meson.current_source_dir() / 'generate-tcl.sh',
15 wish.full_path(),
16 '@INPUT@',
17 '@OUTPUT@',
18 ],
19 input: 'gitk',
20 output: 'gitk',
21 depend_files: [
22 'generate-tcl.sh',
23 ],
24 install: true,
25 install_dir: get_option('bindir'),
26 )
27
28 if find_program('msgfmt', required: false).found()
29 subdir('po')
30 endif