Commit e5fb4bf2 authored by Thibault Saunier's avatar Thibault Saunier

meson: Modernize our meson usage

parent 43bc581e
configure_file(input: 'pitivi.in',
output: 'pitivi',
configuration: cdata)
configuration: cdata,
install_dir: get_option('bindir'))
pitivi_bin = '@0@/pitivi'.format(meson.current_build_dir())
install_data(pitivi_bin, install_dir: get_option('bindir'))
# Create `pitivi` in the current dir at build time to be able to
# run uninstalled in the dev env.
......
......@@ -71,10 +71,10 @@ install_subdir('pitivi', install_dir: pitivi_install_dir)
configure_file(input: 'pitivi/configure.py.in',
output: 'configure.py',
configuration: cdata)
configuration: cdata,
install_dir: pitivi_install_dir + 'pitivi')
configure_file = '@0@/configure.py'.format(meson.current_build_dir())
install_data(configure_file, install_dir: pitivi_install_dir + 'pitivi')
# FIXME work around to get testsuite working
run_command('cp', configure_file, meson.current_source_dir() + '/pitivi')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment