From 922ff4a32128a562b2368ab50865020311fe4a7c Mon Sep 17 00:00:00 2001 From: Thomas Heller Date: Thu, 16 Mar 2006 07:33:49 +0000 Subject: Don't delete non-autogenerated source files when cleaning up. --- Makefile.pre.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index 056b578..c0bb1a1 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) \ -- cgit v0.12