diff options
| author | Neil Hodgson <nyamatongwe@scintilla.org> | 2012-07-16 10:55:09 +1000 | 
|---|---|---|
| committer | Neil Hodgson <nyamatongwe@scintilla.org> | 2012-07-16 10:55:09 +1000 | 
| commit | d0d68491bcb988935126111cf0c8001b718d49a4 (patch) | |
| tree | 64e80932b7b1fcaaee891f959609d8d6b75e3708 /qt/ScintillaEditPy/sepbuild.py | |
| parent | 7fdfa38e47ddbb46005ecbbc29fe0a3136501564 (diff) | |
| download | scintilla-mirror-d0d68491bcb988935126111cf0c8001b718d49a4.tar.gz | |
Clean up more generated files when run with --clean.
Diffstat (limited to 'qt/ScintillaEditPy/sepbuild.py')
| -rw-r--r-- | qt/ScintillaEditPy/sepbuild.py | 11 | 
1 files changed, 7 insertions, 4 deletions
diff --git a/qt/ScintillaEditPy/sepbuild.py b/qt/ScintillaEditPy/sepbuild.py index 1aa8868b1..a823a96b7 100644 --- a/qt/ScintillaEditPy/sepbuild.py +++ b/qt/ScintillaEditPy/sepbuild.py @@ -245,10 +245,13 @@ class SepBuilder:  	def cleanEverything(self):  		self.generateAPI(["--clean"])  		runProgram([self.MakeCommand, "distclean"], exitOnFailure=False) -		try: -			os.remove(self.ProInclude) -		except OSError: -			pass +		filesToRemove = [self.ProInclude, "typesystem_ScintillaEdit.xml",  +			"../../bin/ScintillaEditPy.so", "../../bin/ScintillaConstants.py"] +		for file in filesToRemove: +			try: +				os.remove(file) +			except OSError: +				pass  		for logFile in glob.glob("*.log"):  			try:  				os.remove(logFile)  | 
