summaryrefslogtreecommitdiff
path: root/src/bin/eet/meson.build
blob: f2b7b4a67b521e16a407a2149a7c7d968a5cdaf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
_eet_bin = executable('eet',
  'eet_main.c',
  dependencies: [eet],
  install : true
)

install_data(['diffeet','vieet'],
  install_mode: 'rwxr-xr-x',
  install_dir : dir_bin
)

if meson.is_cross_build()
  eet_bin = find_program('eet', native : true)
else
  eet_bin = _eet_bin
endif

install_data('diffeet', install_dir : dir_bin)
o = join_paths(dir_bin, 'diffeet')
meson.add_install_script(chmod, 'a+r+x', o)

install_data('vieet', install_dir : dir_bin)
o = join_paths(dir_bin, 'vieet')
meson.add_install_script(chmod, 'a+r+x', o)