2010-09-07 11:16:04 +00:00
|
|
|
---
|
|
|
|
Makefile.pre.in | 6 +++---
|
|
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
|
|
|
|
--- Python-2.6.4.orig/Makefile.pre.in
|
|
|
|
+++ Python-2.6.4/Makefile.pre.in
|
|
|
|
@@ -1118,11 +1118,11 @@ TAGS::
|
2008-10-02 15:51:35 +00:00
|
|
|
# Sanitation targets -- clean leaves libraries, executables and tags
|
2010-09-07 11:16:04 +00:00
|
|
|
# files, which clobber removes as well
|
2008-10-02 15:51:35 +00:00
|
|
|
pycremoval:
|
|
|
|
- find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
|
|
|
|
+ find $(srcdir) ! -path './ipkg-install/*' -name '*.py[co]' -exec rm -f {} ';'
|
|
|
|
|
|
|
|
clean: pycremoval
|
|
|
|
- find . -name '*.o' -exec rm -f {} ';'
|
|
|
|
- find . -name '*.s[ol]' -exec rm -f {} ';'
|
|
|
|
+ find . ! -path './ipkg-install/*' -name '*.o' -exec rm -f {} ';'
|
|
|
|
+ find . ! -path './ipkg-install/*' -name '*.s[ol]' -exec rm -f {} ';'
|
|
|
|
find $(srcdir)/build -name 'fficonfig.h' -exec rm -f {} ';' || true
|
|
|
|
find $(srcdir)/build -name 'fficonfig.py' -exec rm -f {} ';' || true
|
2010-09-07 11:16:04 +00:00
|
|
|
-rm -f Lib/lib2to3/*Grammar*.pickle
|