]> granicus.if.org Git - python/commitdiff
#4007: remove *.a and *.so.X.Y files in "make clean".
authorGeorg Brandl <georg@python.org>
Sat, 31 Jul 2010 22:05:54 +0000 (22:05 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 31 Jul 2010 22:05:54 +0000 (22:05 +0000)
Makefile.pre.in

index ffa2510418ce2afb0b512af3ae86a40f4e75c97b..3f5afad970c5a67c8a8caf10eee391abe4520f1f 100644 (file)
@@ -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