diff options
| author | Thomas Heller <theller@ctypes.org> | 2006-03-16 07:33:49 +0000 |
|---|---|---|
| committer | Thomas Heller <theller@ctypes.org> | 2006-03-16 07:33:49 +0000 |
| commit | 922ff4a32128a562b2368ab50865020311fe4a7c (patch) | |
| tree | 37093101f28847090d0041c03742e279d5c01378 | |
| parent | c4bd28c303ce2678b0917f582cb81e67230f5b42 (diff) | |
| download | cpython-git-922ff4a32128a562b2368ab50865020311fe4a7c.tar.gz | |
Don't delete non-autogenerated source files when cleaning up.
| -rw-r--r-- | Makefile.pre.in | 4 |
1 files changed, 2 insertions, 2 deletions
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) \ |
