mirror of
https://github.com/python/cpython.git
synced 2026-06-17 15:16:42 +00:00
[3.13] gh-110704: Recommend distclean target over clean when source tree is not clean (GH-112610) (#150344)
gh-110704: Recommend `distclean` target over `clean` when source tree is not clean (GH-112610)
Recommend `distclean` target over `clean` when source tree is not clean
(cherry picked from commit 34631058f2)
Co-authored-by: James <6125322+SnoopJ@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
This commit is contained in:
parent
e102378eca
commit
80c422d442
1 changed files with 1 additions and 1 deletions
|
|
@ -714,7 +714,7 @@ check-clean-src:
|
|||
echo "Building Python out of the source tree (in $(abs_builddir)) requires a clean source tree ($(abs_srcdir))" ; \
|
||||
echo "Build artifacts such as .o files, executables, and Python/frozen_modules/*.h must not exist within $(srcdir)." ; \
|
||||
echo "Try to run:" ; \
|
||||
echo " (cd \"$(srcdir)\" && make clean || git clean -fdx -e Doc/venv)" ; \
|
||||
echo " (cd \"$(srcdir)\" && make distclean || git clean -fdx -e Doc/venv)" ; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue