mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-103053: Fix make check-clean-src: check "python" program (#110449)
"make check-clean-src" now also checks if the "python" program is found in the source directory: fail with an error if it does exist.
This commit is contained in:
parent
e0c4437793
commit
a155f9f342
2 changed files with 5 additions and 1 deletions
|
@ -624,7 +624,8 @@ build_wasm: check-clean-src $(BUILDPYTHON) platform sharedmods \
|
|||
.PHONY: check-clean-src
|
||||
check-clean-src:
|
||||
@if test -n "$(VPATH)" -a \( \
|
||||
-f "$(srcdir)/Programs/python.o" \
|
||||
-f "$(srcdir)/$(BUILDPYTHON)" \
|
||||
-o -f "$(srcdir)/Programs/python.o" \
|
||||
-o -f "$(srcdir)\Python/frozen_modules/importlib._bootstrap.h" \
|
||||
\); then \
|
||||
echo "Error: The source directory ($(srcdir)) is not clean" ; \
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
"make check-clean-src" now also checks if the "python" program is found in
|
||||
the source directory: fail with an error if it does exist. Patch by Victor
|
||||
Stinner.
|
Loading…
Add table
Add a link
Reference in a new issue