From: Georg Brandl Date: Sat, 31 Jul 2010 22:05:54 +0000 (+0000) Subject: #4007: remove *.a and *.so.X.Y files in "make clean". X-Git-Tag: v3.2a2~589 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=241bdab7357b393964d863ceabef1879511d0b1a;p=thirdparty%2FPython%2Fcpython.git #4007: remove *.a and *.so.X.Y files in "make clean". --- diff --git a/Makefile.pre.in b/Makefile.pre.in index ffa2510418ce..3f5afad970c5 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1185,8 +1185,9 @@ docclean: -rm -rf Doc/tools/sphinx Doc/tools/pygments Doc/tools/docutils clean: pycremoval - find . -name '*.o' -exec rm -f {} ';' + find . -name '*.[oa]' -exec rm -f {} ';' find . -name '*.s[ol]' -exec rm -f {} ';' + find . -name '*.so.[0-9]*.[0-9]*' -exec rm -f {} ';' find build -name 'fficonfig.h' -exec rm -f {} ';' || true find build -name 'fficonfig.py' -exec rm -f {} ';' || true -rm -f Lib/lib2to3/*Grammar*.pickle