From a4872eb5226e27b2874715fed784da3ad5c01c67 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Sun, 18 Jul 2010 20:40:15 +0000 Subject: [PATCH] add tweak to uninstall target missed in r2036 --- utils/shapeindex/SConscript | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/utils/shapeindex/SConscript b/utils/shapeindex/SConscript index 30509c330..1fd89fbb1 100644 --- a/utils/shapeindex/SConscript +++ b/utils/shapeindex/SConscript @@ -49,5 +49,8 @@ if env['HAS_BOOST_SYSTEM']: shapeindex = env.Program('shapeindex', source, CPPPATH=headers, LIBS=libraries) -env.Install(install_prefix + '/bin', shapeindex) -env.Alias('install', install_prefix + '/bin') +if 'uninstall' not in COMMAND_LINE_TARGETS: + env.Install(install_prefix + '/bin', shapeindex) + env.Alias('install', install_prefix + '/bin') + +env['create_uninstall_target'](env, install_prefix + '/bin/' + 'shapeindex') \ No newline at end of file