summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ingenams4
-rw-r--r--scripts/meson.build22
2 files changed, 24 insertions, 2 deletions
diff --git a/scripts/ingenams b/scripts/ingenams
index a88f96d0..72438eed 100755
--- a/scripts/ingenams
+++ b/scripts/ingenams
@@ -245,9 +245,9 @@ world = World(server_uri)
in_file = open(in_path, 'r')
in_comment = False
-for l in in_file:
+for line in in_file:
try:
- expr = l.split()
+ expr = line.split()
if not expr:
continue
elif expr[0] == '#PARA#':
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