diff options
author | David Robillard <d@drobilla.net> | 2008-09-30 18:53:55 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-09-30 18:53:55 +0000 |
commit | e1c6990a81b3bc24308ff905e4196f03625a10b3 (patch) | |
tree | d2cd324c7d18c6e2a751a7afce536565aa092e97 /src/gui/wscript | |
parent | e1d59a67788fd40ae5319a664bb36306b65de70a (diff) | |
download | ingen-e1c6990a81b3bc24308ff905e4196f03625a10b3.tar.gz ingen-e1c6990a81b3bc24308ff905e4196f03625a10b3.tar.bz2 ingen-e1c6990a81b3bc24308ff905e4196f03625a10b3.zip |
Install modules (mostly) the same place as autohell.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1555 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/wscript')
-rw-r--r-- | src/gui/wscript | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/gui/wscript b/src/gui/wscript index 31ecdea7..751d5e08 100644 --- a/src/gui/wscript +++ b/src/gui/wscript @@ -41,14 +41,12 @@ def build(bld): if bld.env()['HAVE_CURL']: obj.source += 'UploadPatchWindow.cpp' - dir = Params.g_options.datadir or bld.env()['PREFIX'] + 'share/ingen' - obj.includes = ['..', '../common'] - obj.defines = 'INGEN_DATA_DIR=\\\"' + dir + '\\\"' + obj.defines = 'INGEN_DATA_DIR=\\\"' + Params.g_options.datadir + '\\\"' obj.name = 'libingen_gui' obj.target = 'ingen_gui' - obj.vnum = '0.0.0' - obj.uselib_local = 'libingen_client libingen_shared' + obj.inst_dir = 'lib/ingen' + obj.uselib_local = 'libingen_shared' obj.uselib = ''' CURL FLOWCANVAS @@ -65,7 +63,7 @@ def build(bld): ''' # GUI runtime files - install_files(dir, '', 'ingen_gui.glade') - install_files(dir, '', 'ingen.svg') + install_files(Params.g_options.datadir, '', 'ingen_gui.glade') + install_files(Params.g_options.datadir, '', 'ingen.svg') |