Skip to content

Commit 80c422d

Browse files
miss-islingtonSnoopJgpshead
authored
[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 3463105) Co-authored-by: James <6125322+SnoopJ@users.noreply.github.com> Co-authored-by: Gregory P. Smith <greg@krypto.org>
1 parent e102378 commit 80c422d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ check-clean-src:
714714
echo "Building Python out of the source tree (in $(abs_builddir)) requires a clean source tree ($(abs_srcdir))" ; \
715715
echo "Build artifacts such as .o files, executables, and Python/frozen_modules/*.h must not exist within $(srcdir)." ; \
716716
echo "Try to run:" ; \
717-
echo " (cd \"$(srcdir)\" && make clean || git clean -fdx -e Doc/venv)" ; \
717+
echo " (cd \"$(srcdir)\" && make distclean || git clean -fdx -e Doc/venv)" ; \
718718
exit 1; \
719719
fi
720720

0 commit comments

Comments
 (0)