From 5e09c3e596c1b0860a996cf8f6023b43d5286a4a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 20 Oct 2008 00:25:32 +0000 Subject: 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 --- src/gui/wscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/wscript') 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') -- cgit v1.2.1