Skip to content

Commit 3463105

Browse files
SnoopJgpshead
andauthored
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 Co-authored-by: Gregory P. Smith <greg@krypto.org>
1 parent 287c98f commit 3463105

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

0 commit comments

Comments
 (0)