From 463c481cb03cc3fb751bc56162d5f34a09abd3de Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 3 Jun 2013 22:17:27 +0000 Subject: [PATCH] Make 'scons clean' more thorough for Matlab and Python packages --- SConstruct | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index ea30221a5..a373bfacc 100644 --- a/SConstruct +++ b/SConstruct @@ -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)