summaryrefslogtreecommitdiffstats
path: root/src/ingen/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-29 03:23:26 +0000
committerDavid Robillard <d@drobilla.net>2008-11-29 03:23:26 +0000
commit9f1ff36d40f916c253cebb1e9f336af53ce31f5d (patch)
tree4f38cadd45de64b44e6ce209709b3350673a7db4 /src/ingen/wscript
parentce6cec92071bcf7b247daa3128e39f7fb9f3200b (diff)
downloadingen-9f1ff36d40f916c253cebb1e9f336af53ce31f5d.tar.gz
ingen-9f1ff36d40f916c253cebb1e9f336af53ce31f5d.tar.bz2
ingen-9f1ff36d40f916c253cebb1e9f336af53ce31f5d.zip
Upgrade to waf 1.5.0.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1823 a436a847-0d15-0410-975c-d299462d15a1
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')