aboutsummaryrefslogtreecommitdiff
path: root/tools/meson.build
blob: 7008eca5edff4ba60b4451ef98c51a517af14ad9 (plain)
1
2
3
4
5
6
7
8
9
10
if get_option('updater').enabled()
custom_target('poi-update',
  input: files('src/updater/main.go'),
  output: 'poi-update',
  command: ['env', 'GOPATH='+meson.current_source_dir(), go, 'build', go_args, '-o=@OUTPUT@', 'updater'],
  build_by_default: true,
  install: true,
  install_dir: get_option('bindir'),
)
endif