Change the 'realclean' target name to be 'cleanworld', to match other

targets like buildworld, installworld.

Suggested by:	obrien
This commit is contained in:
Garance A Drosehn 2004-02-20 02:10:35 +00:00
parent 0a2a8111d2
commit 224f069870
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126031

View file

@ -104,7 +104,7 @@ buildworld: upgrade_checks
.endif
#
# This 'realclean' target is not included in TGTS, because it is not a
# This 'cleanworld' target is not included in TGTS, because it is not a
# recursive target. All of the work for it is done right here. It is
# expected that BW_CANONICALOBJDIR == the CANONICALOBJDIR as would be
# created by bsd.obj.mk, except that we don't want to .include that file
@ -118,7 +118,7 @@ buildworld: upgrade_checks
# needed to correctly handle all the possible situations.
#
BW_CANONICALOBJDIR:=${MAKEOBJDIRPREFIX}${.CURDIR}
realclean:
cleanworld:
.if ${.CURDIR} == ${.OBJDIR} || ${.CURDIR}/obj == ${.OBJDIR}
.if exists(${BW_CANONICALOBJDIR}/)
-rm -rf ${BW_CANONICALOBJDIR}/*