From b0a2ef7d89c4a5eacdc98082d7242a87bf65e19b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 7 Mar 2009 17:40:06 +0000 Subject: Fix path stuff. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1947 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 0b36c96c..32747935 100644 --- a/wscript +++ b/wscript @@ -53,15 +53,15 @@ def configure(conf): conf.define('BUILD_INGEN_GUI', int(build_gui)) conf.define('HAVE_JACK_MIDI', int(conf.env['HAVE_JACK'] == 1)) if conf.env['BUNDLE']: - conf.define('INGEN_DATA_DIR', os.path.normpath( - conf.env['DATADIRNAME'] + 'ingen')) - conf.define('INGEN_MODULE_DIR', os.path.normpath( - conf.env['LIBDIRNAME'] + 'ingen')) + conf.define('INGEN_DATA_DIR', os.path.join( + conf.env['DATADIRNAME'], 'ingen')) + conf.define('INGEN_MODULE_DIR', os.path.join( + conf.env['LIBDIRNAME'], 'ingen')) else: - conf.define('INGEN_DATA_DIR', os.path.normpath( - conf.env['DATADIR'] + 'ingen')) - conf.define('INGEN_MODULE_DIR', os.path.normpath( - conf.env['LIBDIR'] + 'ingen')) + conf.define('INGEN_DATA_DIR', os.path.join( + conf.env['DATADIR'], 'ingen')) + conf.define('INGEN_MODULE_DIR', os.path.join( + conf.env['LIBDIR'], 'ingen')) conf.write_config_header('wafconfig.h') @@ -101,6 +101,6 @@ def build(bld): icon_sizes = ['16x16', '22x22', '24x24', '32x32', '48x48'] for s in icon_sizes: bld.install_as( - os.path.normpath(bld.env['DATADIR'] + '/icons/hicolor/' + s + '/apps/ingen.png'), + os.path.join(bld.env['DATADIR'], 'icons', 'hicolor', 'apps', 'ingen.png'), 'icons/' + s + '/ingen.png') -- cgit v1.2.1