Skip to content

Commit d601388

Browse files
committed
Recommend distclean target over clean when source tree is not clean
1 parent 939fc6d commit d601388

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
@@ -661,7 +661,7 @@ check-clean-src:
661661
\); then \
662662
echo "Error: The source directory ($(srcdir)) is not clean" ; \
663663
echo "Building Python out of the source tree (in $(abs_builddir)) requires a clean source tree ($(abs_srcdir))" ; \
664-
echo "Try to run: make -C \"$(srcdir)\" clean" ; \
664+
echo "Try to run: make -C \"$(srcdir)\" distclean" ; \
665665
exit 1; \
666666
fi
667667

0 commit comments

Comments
 (0)