summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-12-21 03:51:41 +0000
committerDavid Robillard <d@drobilla.net>2012-12-21 03:51:41 +0000
commit89703f69e36514584ec5c399f4bdc8fb2cbc4036 (patch)
tree0b4f44b64dd2fa8604b16ed86196b527ecbe0b51 /wscript
parent595e4f539b73a46c428a2e84b5e0f37e0f48a9b8 (diff)
downloadingen-89703f69e36514584ec5c399f4bdc8fb2cbc4036.tar.gz
ingen-89703f69e36514584ec5c399f4bdc8fb2cbc4036.tar.bz2
ingen-89703f69e36514584ec5c399f4bdc8fb2cbc4036.zip
Add preliminary AMS loader script.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4870 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript7
1 files changed, 7 insertions, 0 deletions
diff --git a/wscript b/wscript
index 24bc612f..81247c8b 100644
--- a/wscript
+++ b/wscript
@@ -33,9 +33,11 @@ def options(opt):
def configure(conf):
conf.load('compiler_cxx')
+ conf.load('python')
autowaf.configure(conf)
autowaf.display_header('Ingen Configuration')
+ conf.check_python_version((2,4,0), mandatory=False)
autowaf.check_pkg(conf, 'lv2', uselib_store='LV2',
atleast_version='1.0.15', mandatory=True)
autowaf.check_pkg(conf, 'glibmm-2.4', uselib_store='GLIBMM',
@@ -133,6 +135,10 @@ def build(bld):
bld.install_files('${INCLUDEDIR}/ingen/%s' % i,
bld.path.ant_glob('ingen/%s/*' % i))
+ # Python modules
+ if bld.env.PYTHONDIR:
+ bld.install_files('${PYTHONDIR}/', 'scripts/ingen.py')
+
# Modules
bld.recurse('src')
bld.recurse('src/serialisation')
@@ -166,6 +172,7 @@ def build(bld):
bld.install_files('${DATADIR}/applications', 'src/ingen/ingen.desktop')
bld.install_files('${BINDIR}', 'scripts/ingenish', chmod=Utils.O755)
+ bld.install_files('${BINDIR}', 'scripts/ingenams', chmod=Utils.O755)
# Documentation
autowaf.build_dox(bld, 'INGEN', INGEN_VERSION, top, out)