mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Fix make distclean for out-of-tree builds
This commit is contained in:
commit
1969e01ae5
1 changed files with 2 additions and 2 deletions
|
|
@ -1533,8 +1533,8 @@ clobber: clean profile-removal
|
|||
# remove all generated files, even Makefile[.pre]
|
||||
# Keep configure and Python-ast.[ch], it's possible they can't be generated
|
||||
distclean: clobber
|
||||
for file in Lib/test/data/* ; do \
|
||||
if test "$$file" != "Lib/test/data/README"; then rm "$$file"; fi; \
|
||||
for file in $(srcdir)/Lib/test/data/* ; do \
|
||||
if test "$$file" != "$(srcdir)/Lib/test/data/README"; then rm "$$file"; fi; \
|
||||
done
|
||||
-rm -f core Makefile Makefile.pre config.status \
|
||||
Modules/Setup Modules/Setup.local Modules/Setup.config \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue