forked from bartvdbraak/blender
scons build systems
------------------- Revert inadvertent ffmpeg changes.
This commit is contained in:
parent
1f470ab1b4
commit
8d2e51f559
24
SConstruct
24
SConstruct
@ -335,17 +335,19 @@ if not quickie and do_clean:
|
|||||||
else: # remove file
|
else: # remove file
|
||||||
print "remove file %s"%(B.root_build_dir+entry)
|
print "remove file %s"%(B.root_build_dir+entry)
|
||||||
os.remove(B.root_build_dir+entry)
|
os.remove(B.root_build_dir+entry)
|
||||||
for confile in ['extern/ffmpeg/config.mak', 'extern/x264/config.mak',
|
for confile in ['extern/ffmpeg/config.mak', 'extern/x264/config.mak',
|
||||||
'extern/xvidcore/build/generic/platform.inc', 'extern/ffmpeg/include']:
|
'extern/xvidcore/build/generic/platform.inc', 'extern/ffmpeg/include']:
|
||||||
if os.path.exists(confile):
|
if os.path.exists(confile):
|
||||||
print "clean file %s"%confile
|
print "clean file %s"%confile
|
||||||
if os.path.isdir(confile):
|
if os.path.isdir(confile):
|
||||||
for root, dirs, files in os.walk(confile):
|
for root, dirs, files in os.walk(confile):
|
||||||
for name in files:
|
for name in files:
|
||||||
os.remove(os.path.join(root, name))
|
os.remove(os.path.join(root, name))
|
||||||
else:
|
else:
|
||||||
os.remove(confile)
|
os.remove(confile)
|
||||||
print B.bc.OKGREEN+'...done'+B.bc.ENDC
|
print B.bc.OKGREEN+'...done'+B.bc.ENDC
|
||||||
|
else:
|
||||||
|
print B.bc.HEADER+'Already Clean, nothing to do.'+B.bc.ENDC
|
||||||
Exit()
|
Exit()
|
||||||
|
|
||||||
if not os.path.isdir ( B.root_build_dir):
|
if not os.path.isdir ( B.root_build_dir):
|
||||||
|
Loading…
Reference in New Issue
Block a user