Skip to content

Commit 229447a

Browse files
miss-islingtonSnoopJgpshead
authored
[3.14] gh-110704: Recommend distclean target over clean when source tree is not clean (GH-112610) (#150343)
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 5676bfc commit 229447a

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

0 commit comments

Comments
 (0)