summaryrefslogtreecommitdiffstats
path: root/src/gui/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-20 00:25:32 +0000
committerDavid Robillard <d@drobilla.net>2008-10-20 00:25:32 +0000
commit5e09c3e596c1b0860a996cf8f6023b43d5286a4a (patch)
tree46d989730512fbaa4d72ab7e5da3e88c1e761be9 /src/gui/wscript
parent5353b8c88e3c82812e41e3411d1085e0dd481a1b (diff)
downloadingen-5e09c3e596c1b0860a996cf8f6023b43d5286a4a.tar.gz
ingen-5e09c3e596c1b0860a996cf8f6023b43d5286a4a.tar.bz2
ingen-5e09c3e596c1b0860a996cf8f6023b43d5286a4a.zip
Actually use installation location variables for everything.
Add ./waf configure --build which builds a (soon-to-be) relocatable independent bundle with all data/progs/libs in it (OSX bundle directory structure, should be possible to make a 'real' OSX bundle out of this...). Fix include paths to use "" and definitely build against local versions of libraries. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1689 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/wscript')
-rw-r--r--src/gui/wscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/wscript b/src/gui/wscript
index c8615198..62cefaf5 100644
--- a/src/gui/wscript
+++ b/src/gui/wscript
@@ -45,7 +45,7 @@ def build(bld):
obj.includes = ['.', '..', '../common']
obj.name = 'libingen_gui'
obj.target = 'ingen_gui'
- obj.inst_dir = 'lib/ingen'
+ obj.inst_dir = bld.env()['LIBDIRNAME'] + 'ingen'
obj.uselib_local = 'libingen_shared'
autowaf.use_lib(bld, obj, '''
CURL
@@ -64,7 +64,7 @@ def build(bld):
''')
# GUI runtime files
- install_files(bld.env()['DATADIR'], 'ingen', 'ingen_gui.glade')
- install_files(bld.env()['DATADIR'], 'ingen', 'ingen.svg')
+ install_files('DATADIR', 'ingen', 'ingen_gui.glade')
+ install_files('DATADIR', 'ingen', 'ingen.svg')