From: Thomas Heller Date: Thu, 16 Mar 2006 07:33:49 +0000 (+0000) Subject: Don't delete non-autogenerated source files when cleaning up. X-Git-Tag: v2.5a0~217 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=922ff4a32128a562b2368ab50865020311fe4a7c;p=python Don't delete non-autogenerated source files when cleaning up. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index 056b57803a..c0bb1a1863 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -974,8 +974,8 @@ clean: find . -name '*.o' -exec rm -f {} ';' find . -name '*.s[ol]' -exec rm -f {} ';' find $(srcdir) -name '*.py[co]' -exec rm -f {} ';' - find $(srcdir) -name 'fficonfig.h' -exec rm -f {} ';' - find $(srcdir) -name 'fficonfig.py' -exec rm -f {} ';' + find $(srcdir)/build -name 'fficonfig.h' -exec rm -f {} ';' || true + find $(srcdir)/build -name 'fficonfig.py' -exec rm -f {} ';' || true clobber: clean -rm -f $(BUILDPYTHON) $(PGEN) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \