summaryrefslogtreecommitdiffstats
path: root/src/gui/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-09-30 18:20:57 +0000
committerDavid Robillard <d@drobilla.net>2008-09-30 18:20:57 +0000
commite1d59a67788fd40ae5319a664bb36306b65de70a (patch)
tree843328e0f1e75db8cc70274edd24d1cac560f3ba /src/gui/wscript
parent7a855a56a1eabd1b46543eab424257c658ff770b (diff)
downloadingen-e1d59a67788fd40ae5319a664bb36306b65de70a.tar.gz
ingen-e1d59a67788fd40ae5319a664bb36306b65de70a.tar.bz2
ingen-e1d59a67788fd40ae5319a664bb36306b65de70a.zip
Working ingen when built/installed via waf.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1554 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/wscript')
-rw-r--r--src/gui/wscript8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/wscript b/src/gui/wscript
index f8ea297a..31ecdea7 100644
--- a/src/gui/wscript
+++ b/src/gui/wscript
@@ -41,7 +41,7 @@ def build(bld):
if bld.env()['HAVE_CURL']:
obj.source += 'UploadPatchWindow.cpp'
- dir = Params.g_options.moduledir or bld.env()['PREFIX'] + 'lib/ingen'
+ dir = Params.g_options.datadir or bld.env()['PREFIX'] + 'share/ingen'
obj.includes = ['..', '../common']
obj.defines = 'INGEN_DATA_DIR=\\\"' + dir + '\\\"'
@@ -63,3 +63,9 @@ def build(bld):
SOUP
XML2
'''
+
+ # GUI runtime files
+ install_files(dir, '', 'ingen_gui.glade')
+ install_files(dir, '', 'ingen.svg')
+
+