[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14601] trunk/blender/SConstruct: * make sure makesdna executable gets removed on scons clean.

Nathan Letwory jesterking at letwory.net
Mon Apr 28 19:14:22 CEST 2008


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





More information about the Bf-blender-cvs mailing list