diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/wscript | 2 | ||||
-rw-r--r-- | src/engine/wscript | 2 | ||||
-rw-r--r-- | src/gui/wscript | 12 | ||||
-rw-r--r-- | src/module/wscript | 5 | ||||
-rw-r--r-- | src/serialisation/wscript | 2 | ||||
-rw-r--r-- | src/shared/wscript | 2 |
6 files changed, 11 insertions, 14 deletions
diff --git a/src/client/wscript b/src/client/wscript index c4b355c3..f057f8ed 100644 --- a/src/client/wscript +++ b/src/client/wscript @@ -31,5 +31,5 @@ def build(bld): obj.name = 'libingen_client' obj.target = 'ingen_client' obj.uselib = 'GLIBMM SLV2 RAUL REDLANDMM SOUP XML2 SIGCPP' - obj.vnum = '0.0.0' + obj.inst_dir = 'lib/ingen' diff --git a/src/engine/wscript b/src/engine/wscript index 5a115108..1501b306 100644 --- a/src/engine/wscript +++ b/src/engine/wscript @@ -76,5 +76,5 @@ def build(bld): obj.name = 'libingen_engine' obj.target = 'ingen_engine' obj.uselib = 'GLIBMM GTHREAD SLV2 JACK LIBLO RAUL REDLANDMM SOUP' - obj.vnum = '0.0.0' + obj.inst_dir = 'lib/ingen' 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') diff --git a/src/module/wscript b/src/module/wscript index bdcbebc9..044f57ed 100644 --- a/src/module/wscript +++ b/src/module/wscript @@ -2,16 +2,15 @@ import Params def build(bld): - dir = Params.g_options.moduledir or bld.env()['PREFIX'] + 'lib' obj = bld.create_obj('cpp', 'shlib') obj.source = ''' Module.cpp global.cpp ''' obj.includes = ['..', '../common'] - obj.defines = 'INGEN_MODULE_DIR=\\\"' + dir + '\\\"' + obj.defines = 'INGEN_MODULE_DIR=\\\"' + bld.env()['PREFIX'] + 'lib/ingen/\\\"' obj.name = 'libingen_module' obj.target = 'ingen_module' - obj.uselib = 'GLIBMM SLV2 RAUL REDLANDMM' obj.vnum = '0.0.0' + obj.uselib = 'GLIBMM SLV2 RAUL REDLANDMM' diff --git a/src/serialisation/wscript b/src/serialisation/wscript index 4e67f3f9..10ec8186 100644 --- a/src/serialisation/wscript +++ b/src/serialisation/wscript @@ -12,5 +12,5 @@ def build(bld): obj.name = 'libingen_serialisation' obj.target = 'ingen_serialisation' obj.uselib = 'GLIBMM SLV2 RAUL REDLANDMM' - obj.vnum = '0.0.0' + obj.inst_dir = 'lib/ingen' diff --git a/src/shared/wscript b/src/shared/wscript index 3c7814a9..34ea8f3e 100644 --- a/src/shared/wscript +++ b/src/shared/wscript @@ -14,6 +14,6 @@ def build(bld): obj.includes = ['../', '../common'] obj.name = 'libingen_shared' obj.target = 'ingen_shared' - obj.uselib = 'GLIBMM SLV2 RAUL REDLANDMM' obj.vnum = '0.0.0' + obj.uselib = 'GLIBMM SLV2 RAUL REDLANDMM' |