Git fork
at reftables-rust 30 lines 563 B view raw
1project('gitk') 2 3shell = find_program('sh') 4wish = find_program('wish') 5 6# Verify that dependencies of "generate-tcl.sh" are satisfied. 7foreach dependency : [ 'chmod', 'mv', 'sed' ] 8 find_program(dependency) 9endforeach 10 11custom_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 28if find_program('msgfmt').found() 29 subdir('po') 30endif