summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2006-03-16 07:33:49 (GMT)
committerThomas Heller <theller@ctypes.org>2006-03-16 07:33:49 (GMT)
commit922ff4a32128a562b2368ab50865020311fe4a7c (patch)
tree37093101f28847090d0041c03742e279d5c01378 /Makefile.pre.in
parentc4bd28c303ce2678b0917f582cb81e67230f5b42 (diff)
downloadcpython-922ff4a32128a562b2368ab50865020311fe4a7c.zip
cpython-922ff4a32128a562b2368ab50865020311fe4a7c.tar.gz
cpython-922ff4a32128a562b2368ab50865020311fe4a7c.tar.bz2
Don't delete non-autogenerated source files when cleaning up.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in4
1 files 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) \