summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-31 22:05:54 (GMT)
committerGeorg Brandl <georg@python.org>2010-07-31 22:05:54 (GMT)
commit241bdab7357b393964d863ceabef1879511d0b1a (patch)
tree142031d3c4619fb8298fdf4c20927e36c61566ee /Makefile.pre.in
parent62e2ca219311a111873892910ad441659faeaefa (diff)
downloadcpython-241bdab7357b393964d863ceabef1879511d0b1a.zip
cpython-241bdab7357b393964d863ceabef1879511d0b1a.tar.gz
cpython-241bdab7357b393964d863ceabef1879511d0b1a.tar.bz2
#4007: remove *.a and *.so.X.Y files in "make clean".
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index ffa2510..3f5afad 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