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

targets like buildworld, installworld.

Suggested by:	obrien
This commit is contained in:
gad 2004-02-20 02:10:35 +00:00
parent c9f8eee343
commit 747da9d662

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}/*