Branch oldpackages for 14.07
[14.07/packages.git] / lang / python / patches / 070-dont-clean-ipkg-install.patch
1 ---
2  Makefile.pre.in |    6 +++---
3  1 file changed, 3 insertions(+), 3 deletions(-)
4
5 --- a/Makefile.pre.in
6 +++ b/Makefile.pre.in
7 @@ -1169,12 +1169,12 @@ TAGS::
8  # Sanitation targets -- clean leaves libraries, executables and tags
9  # files, which clobber removes as well
10  pycremoval:
11 -       find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
12 +       find $(srcdir) ! -path './ipkg-install/*' -name '*.py[co]' -exec rm -f {} ';'
13  
14  clean: pycremoval
15 -       find . -name '*.[oa]' -exec rm -f {} ';'
16 -       find . -name '*.s[ol]' -exec rm -f {} ';'
17 -       find . -name '*.so.[0-9]*.[0-9]*' -exec rm -f {} ';'
18 +       find . ! -path './ipkg-install/*' -name '*.[oa]' -exec rm -f {} ';'
19 +       find . ! -path './ipkg-install/*' -name '*.s[ol]' -exec rm -f {} ';'
20 +       find . ! -path './ipkg-install/*' -name '*.so.[0-9]*.[0-9]*' -exec rm -f {} ';'
21         find build -name 'fficonfig.h' -exec rm -f {} ';' || true
22         find build -name 'fficonfig.py' -exec rm -f {} ';' || true
23         -rm -f Lib/lib2to3/*Grammar*.pickle