Message102711
Martin> If it did eat the patch, we would have lost it by now: there is
Martin> nothing in the history that shows that a file was attached at
Martin> some point. More likely, Skip forgot to attach it when
Martin> submitting this report.
Yeah, I must have just forgotten to attach it. At one point I'm pretty sure
I had something in my sandbox, but have nothing now. Removing .a files is
pretty straightforward. Removing .so.X.Y files is a little more cumbersome
because globbing isn't perfect. This (only lightly tested) patch should be
good enough though:
Index: Makefile.pre.in
===================================================================
--- Makefile.pre.in (revision 79207)
+++ Makefile.pre.in (working copy)
@@ -1156,8 +1156,9 @@
find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
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
even though the second addition would also match files like
Margaret.so.9a.1g4
Skip |
|
| Date |
User |
Action |
Args |
| 2010-04-09 12:17:54 | skip.montanaro | set | recipients:
+ skip.montanaro, loewis, ajaksu2, l0nwlf |
| 2010-04-09 12:17:53 | skip.montanaro | link | issue4007 messages |
| 2010-04-09 12:17:52 | skip.montanaro | create | |
|