diff options
Diffstat (limited to 'scripts/meson.build')
-rw-r--r-- | scripts/meson.build | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/scripts/meson.build b/scripts/meson.build new file mode 100644 index 00000000..10ae15d5 --- /dev/null +++ b/scripts/meson.build @@ -0,0 +1,22 @@ +# Copyright 2020-2022 David Robillard <d@drobilla.net> +# SPDX-License-Identifier: CC0-1.0 OR GPL-3.0-or-later + +scripts = files( + 'ingenams', + 'ingenish', +) + +foreach script : scripts + install_data( + script, + install_dir: get_option('bindir'), + install_mode: 'rwxr-xr-x', + ) +endforeach + +pymod = import('python') +py = pymod.find_installation('python3', required: get_option('bindings_py')) + +if py.found() + py.install_sources(files('ingen.py')) +endif |