Make 'scons clean' more thorough for Matlab and Python packages

This commit is contained in:
Ray Speth 2013-06-03 22:17:27 +00:00
parent 3305698b6a
commit 463c481cb0

View file

@ -58,8 +58,12 @@ if 'clean' in COMMAND_LINE_TARGETS:
if name.endswith('.msi'):
removeFile(name)
for name in os.listdir('interfaces/python/Cantera'):
if name.startswith('_cantera'):
if name.startswith('_cantera') or name.startswith('cantera_shared'):
removeFile('interfaces/python/Cantera/' + name)
removeFile('interfaces/matlab/toolbox/cantera_shared.dll')
for name in os.listdir('interfaces/matlab/toolbox'):
if name.startswith('ctmethods.'):
removeFile('interfaces/matlab/toolbox/' + name)
print 'Done removing output files.'
sys.exit(0)