From 1ea4389ef926d1e342b0c0f0218523cb02821daa Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 4 Apr 2015 03:06:53 +0000 Subject: Use portable code for icon paths. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5656 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index ecaaa5c..3fe3670 100644 --- a/wscript +++ b/wscript @@ -204,13 +204,13 @@ def build(bld): for s in icon_sizes: d = '%dx%d' % (s, s) bld.install_as( - os.path.join(bld.env.DATADIR, 'icons', 'hicolor', d, 'apps', - bld.env.APP_INSTALL_NAME + '.png'), - 'icons/' + d + '/patchage.png') + os.path.join(bld.env.DATADIR, 'icons', 'hicolor', d, 'apps', + bld.env.APP_INSTALL_NAME + '.png'), + os.path.join('icons', d, 'patchage.png')) bld.install_as( - os.path.join(bld.env.DATADIR, 'icons', 'hicolor', 'scalable', 'apps', - bld.env.APP_INSTALL_NAME + '.svg'), - 'icons/scalable/patchage.svg') + os.path.join(bld.env.DATADIR, 'icons', 'hicolor', 'scalable', 'apps', + bld.env.APP_INSTALL_NAME + '.svg'), + os.path.join('icons', 'scalable', 'patchage.svg')) bld.install_files('${MANDIR}/man1', bld.path.ant_glob('doc/*.1')) -- cgit v1.2.1