Revision: 14601
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14601
Author: jesterking
Date: 2008-04-28 19:14:20 +0200 (Mon, 28 Apr 2008)
Log Message:
-----------
* make sure makesdna executable gets removed on scons clean.
Modified Paths:
--------------
trunk/blender/SConstruct
Modified: trunk/blender/SConstruct
===================================================================
--- trunk/blender/SConstruct 2008-04-28 17:02:55 UTC (rev 14600)
+++ trunk/blender/SConstruct 2008-04-28 17:14:20 UTC (rev 14601)
@@ -273,6 +273,14 @@
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
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs