Closes #18312: 'make distclean' no longer deletes files in dot-directories.

This commit is contained in:
Eric V. Smith 2013-07-02 09:06:54 -04:00
parent e3e8bcf3e7
commit f4c47b5a35
1 changed files with 5 additions and 5 deletions

View File

@ -1413,11 +1413,11 @@ distclean: clobber
Modules/Setup Modules/Setup.local Modules/Setup.config \ Modules/Setup Modules/Setup.local Modules/Setup.config \
Modules/ld_so_aix Modules/python.exp Misc/python.pc Modules/ld_so_aix Modules/python.exp Misc/python.pc
-rm -f python*-gdb.py -rm -f python*-gdb.py
find $(srcdir) '(' -name '*.fdc' -o -name '*~' \ find $(srcdir)/[a-zA-Z]* '(' -name '*.fdc' -o -name '*~' \
-o -name '[@,#]*' -o -name '*.old' \ -o -name '[@,#]*' -o -name '*.old' \
-o -name '*.orig' -o -name '*.rej' \ -o -name '*.orig' -o -name '*.rej' \
-o -name '*.bak' ')' \ -o -name '*.bak' ')' \
-exec rm -f {} ';' -exec rm -f {} ';'
# Check for smelly exported symbols (not starting with Py/_Py) # Check for smelly exported symbols (not starting with Py/_Py)
smelly: all smelly: all