From: resver Date: Tue, 18 Dec 2012 18:06:17 +0000 (+0000) Subject: Remove symlinks on cleaning the install alias. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=82648392e599eb763ac5e5a5e56649daf1852cc8;p=android-x86%2Fexternal-exfat.git Remove symlinks on cleaning the install alias. git-svn-id: http://exfat.googlecode.com/svn/trunk@311 60bc1c72-a15a-11de-b98f-4500b42dc123 --- diff --git a/SConstruct b/SConstruct index 3f96db3..3ce8b95 100644 --- a/SConstruct +++ b/SConstruct @@ -94,8 +94,9 @@ def program(pattern, output, alias, libs): return target = env.Program(output, sources, LIBS = libs) if alias: - Alias('install', Install(destdir, target), - symlink(destdir, os.path.basename(output), alias)) + Clean(Alias('install', Install(destdir, target), + symlink(destdir, os.path.basename(output), alias)), + destdir + '/' + alias) else: Alias('install', Install(destdir, target)) targets.append(target)