From f4c47b5a35f399ae48a0bc816d5c705b57e8e342 Mon Sep 17 00:00:00 2001 From: "Eric V. Smith" Date: Tue, 2 Jul 2013 09:06:54 -0400 Subject: Closes #18312: 'make distclean' no longer deletes files in dot-directories. --- Makefile.pre.in | 10 +++++----- 1 file 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 -- cgit v0.12