summaryrefslogtreecommitdiffstats
path: root/src/gui/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-19 21:36:38 +0000
committerDavid Robillard <d@drobilla.net>2008-10-19 21:36:38 +0000
commit5353b8c88e3c82812e41e3411d1085e0dd481a1b (patch)
treeac2aed59660324784d2d81da2b3b93f0a0e72888 /src/gui/wscript
parent7b2b8aaa0c810909922b662729774befc05e061e (diff)
downloadingen-5353b8c88e3c82812e41e3411d1085e0dd481a1b.tar.gz
ingen-5353b8c88e3c82812e41e3411d1085e0dd481a1b.tar.bz2
ingen-5353b8c88e3c82812e41e3411d1085e0dd481a1b.zip
Make ingen actually run again :)
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1688 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/wscript')
-rw-r--r--src/gui/wscript5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/wscript b/src/gui/wscript
index 860a21a0..c8615198 100644
--- a/src/gui/wscript
+++ b/src/gui/wscript
@@ -43,7 +43,6 @@ def build(bld):
obj.source += 'UploadPatchWindow.cpp'
obj.includes = ['.', '..', '../common']
- obj.defines = 'INGEN_DATA_DIR=\\\"' + Params.g_options.datadir + '\\\"'
obj.name = 'libingen_gui'
obj.target = 'ingen_gui'
obj.inst_dir = 'lib/ingen'
@@ -65,7 +64,7 @@ def build(bld):
''')
# GUI runtime files
- install_files(Params.g_options.datadir, '', 'ingen_gui.glade')
- install_files(Params.g_options.datadir, '', 'ingen.svg')
+ install_files(bld.env()['DATADIR'], 'ingen', 'ingen_gui.glade')
+ install_files(bld.env()['DATADIR'], 'ingen', 'ingen.svg')