summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/meson.build22
1 files changed, 22 insertions, 0 deletions
diff --git a/scripts/meson.build b/scripts/meson.build
new file mode 100644
index 00000000..bd352b08
--- /dev/null
+++ b/scripts/meson.build
@@ -0,0 +1,22 @@
+# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD 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