git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24611
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
force = '--force' in sys.argv or '-f' in sys.argv
debug = '--debug' in sys.argv or '-g' in sys.argv
+cleaning = 'clean' in sys.argv
+
# change the PORT default for wxMac
if sys.platform[:6] == "darwin":
sources.append(cpp_file)
- if USE_SWIG:
+ if not cleaning and USE_SWIG:
for dep in swig_deps:
if newer(dep, py_file) or newer(dep, cpp_file):
force = 1