Skip to content

Commit d02c2df

Browse files
miss-islingtonSnoopJgpshead
authored
[3.15] gh-110704: Recommend distclean target over clean when source tree is not clean (GH-112610) (#150342)
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 739552c commit d02c2df

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
@@ -835,7 +835,7 @@ check-clean-src:
835835
echo "Building Python out of the source tree (in $(abs_builddir)) requires a clean source tree ($(abs_srcdir))" ; \
836836
echo "Build artifacts such as .o files, executables, and Python/frozen_modules/*.h must not exist within $(srcdir)." ; \
837837
echo "Try to run:" ; \
838-
echo " (cd \"$(srcdir)\" && make clean || git clean -fdx -e Doc/venv)" ; \
838+
echo " (cd \"$(srcdir)\" && make distclean || git clean -fdx -e Doc/venv)" ; \
839839
exit 1; \
840840
fi
841841

0 commit comments

Comments
 (0)