summaryrefslogtreecommitdiffstats
path: root/src/ingen/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/ingen/wscript')
-rw-r--r--src/ingen/wscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ingen/wscript b/src/ingen/wscript
index 688c16db..91a5a1c2 100644
--- a/src/ingen/wscript
+++ b/src/ingen/wscript
@@ -2,16 +2,16 @@
import autowaf
def build(bld):
- obj = bld.create_obj('cpp', 'program')
+ obj = bld.new_task_gen('cxx', 'program')
obj.target = 'ingen'
obj.source = 'main.cpp cmdline.c'
obj.includes = ['../common', '../']
- obj.defines = 'VERSION=\\\"' + bld.env()['INGEN_VERSION'] + '\\\"'
+ obj.defines = 'VERSION=\\\"' + bld.env['INGEN_VERSION'] + '\\\"'
obj.uselib_local = 'libingen_module libingen_shared'
- obj.inst_dir = bld.env()['BINDIRNAME']
+ obj.install_path = '${BINDIR}'
autowaf.use_lib(bld, obj, 'GTHREAD GLIBMM REDLANDMM RAUL LV2CORE SLV2 INGEN LIBLO SOUP')
autowaf.build_wrapper(bld, 'ingen.in', obj)
- install_files('DATADIR', 'applications', 'ingen.desktop')
+ bld.install_files('${DATADIR}/applications', 'ingen.desktop')