Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2008-04-28 21:14:20 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2008-04-28 21:14:20 +0400
commita9ab9f4bdefeb25027d208b472f2d969a2ac2838 (patch)
tree81ecc8fbd99398388e47e49e777c6267fcf00bfe /SConstruct
parent23660800b6f5ad48f03ac7d840595fae07b9c794 (diff)
* make sure makesdna executable gets removed on scons clean.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct8
1 files changed, 8 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index dcb5cfef3ec..78936a039c9 100644
--- a/SConstruct
+++ b/SConstruct
@@ -273,6 +273,14 @@ if not quickie and do_clean:
if os.path.exists(confile):
print "clean file %s"%confile
os.remove(confile)
+
+ if platform in ('win32-vc', 'win32-mingw'):
+ makesdnafile = B.root_build_dir+'makesdna.exe'
+ else:
+ makesdnafile = B.root_build_dir+'makesdna'
+ if os.path.exists(makesdnafile):
+ print "removing", makesdnafile
+ os.remove(makesdnafile)
print B.bc.OKGREEN+'...done'+B.bc.ENDC
else:
print B.bc.HEADER+'Already Clean, nothing to do.'+B.bc.ENDC