mirror of https://github.com/python/cpython
Closes #18312: 'make distclean' no longer deletes files in dot-directories.
This commit is contained in:
parent
e3e8bcf3e7
commit
f4c47b5a35
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue