From: Thomas Heller Date: Fri, 24 Apr 2009 18:10:46 +0000 (+0000) Subject: Issue #5161: wrong paths for ctypes cleanup when Python is built in a X-Git-Tag: v2.7a1~1422 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=addfe22821ad8db05e8dd0e90fe68463dd69c500;p=python Issue #5161: wrong paths for ctypes cleanup when Python is built in a directory other than the source directory. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index caba97a224..aa388851ae 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1143,8 +1143,8 @@ pycremoval: clean: pycremoval find . -name '*.o' -exec rm -f {} ';' find . -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 + find build -name 'fficonfig.h' -exec rm -f {} ';' || true + find build -name 'fficonfig.py' -exec rm -f {} ';' || true profile-removal: find . -name '*.gc??' -exec rm -f {} ';'