summaryrefslogtreecommitdiffstats
path: root/src/gui/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-08 19:11:13 +0000
committerDavid Robillard <d@drobilla.net>2011-01-08 19:11:13 +0000
commita7b46a0695acfa55d591b0e5ce585d9f92fdad3e (patch)
tree30d7e670c77568684df23a1e02fcc9a0e271a76c /src/gui/wscript
parentd95f3e089619d35873acdad4b79e3f7e0f6ccf15 (diff)
downloadingen-a7b46a0695acfa55d591b0e5ce585d9f92fdad3e.tar.gz
ingen-a7b46a0695acfa55d591b0e5ce585d9f92fdad3e.tar.bz2
ingen-a7b46a0695acfa55d591b0e5ce585d9f92fdad3e.zip
Support via waf for running from the build directory.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2799 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/wscript')
-rw-r--r--src/gui/wscript11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/gui/wscript b/src/gui/wscript
index 5ae04233..40c6a270 100644
--- a/src/gui/wscript
+++ b/src/gui/wscript
@@ -66,7 +66,10 @@ def build(bld):
XML2
''')
- # GUI runtime files
- bld.install_files('${DATADIR}/ingen', 'ingen_gui.glade')
-
-
+ # Glade XML UI definition
+ bld(features = 'subst',
+ source = 'ingen_gui.glade',
+ target = '../../ingen_gui.glade',
+ install_path = '${DATADIR}/ingen',
+ chmod = 0755,
+ INGEN_VERSION = bld.env['INGEN_VERSION'])