]> granicus.if.org Git - python/commitdiff
Issue #5161: wrong paths for ctypes cleanup when Python is built in a
authorThomas Heller <theller@ctypes.org>
Fri, 24 Apr 2009 18:10:46 +0000 (18:10 +0000)
committerThomas Heller <theller@ctypes.org>
Fri, 24 Apr 2009 18:10:46 +0000 (18:10 +0000)
directory other than the source directory.

Makefile.pre.in

index caba97a224223d97a386cb2aab863a6fe3bd51de..aa388851aee668360aac1a8876398b19786a8986 100644 (file)
@@ -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 {} ';'