summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorEric V. Smith <eric@trueblade.com>2013-07-02 13:06:54 (GMT)
committerEric V. Smith <eric@trueblade.com>2013-07-02 13:06:54 (GMT)
commitf4c47b5a35f399ae48a0bc816d5c705b57e8e342 (patch)
treec4f36aa9bde858e3bce22b4de33ea1ea6714b4e6 /Makefile.pre.in
parente3e8bcf3e70d13e1cfa13f8871ff0f14e661610c (diff)
downloadcpython-f4c47b5a35f399ae48a0bc816d5c705b57e8e342.zip
cpython-f4c47b5a35f399ae48a0bc816d5c705b57e8e342.tar.gz
cpython-f4c47b5a35f399ae48a0bc816d5c705b57e8e342.tar.bz2
Closes #18312: 'make distclean' no longer deletes files in dot-directories.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 6709f4a..7a25269 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1413,11 +1413,11 @@ distclean: clobber
Modules/Setup Modules/Setup.local Modules/Setup.config \
Modules/ld_so_aix Modules/python.exp Misc/python.pc
-rm -f python*-gdb.py
- find $(srcdir) '(' -name '*.fdc' -o -name '*~' \
- -o -name '[@,#]*' -o -name '*.old' \
- -o -name '*.orig' -o -name '*.rej' \
- -o -name '*.bak' ')' \
- -exec rm -f {} ';'
+ find $(srcdir)/[a-zA-Z]* '(' -name '*.fdc' -o -name '*~' \
+ -o -name '[@,#]*' -o -name '*.old' \
+ -o -name '*.orig' -o -name '*.rej' \
+ -o -name '*.bak' ')' \
+ -exec rm -f {} ';'
# Check for smelly exported symbols (not starting with Py/_Py)
smelly: all