mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 13:32:45 +00:00
Change the 'realclean' target name to be 'cleanworld', to match other
targets like buildworld, installworld. Suggested by: obrien
This commit is contained in:
parent
0a2a8111d2
commit
224f069870
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126031
4
Makefile
4
Makefile
@ -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}/*
|
||||
|
Loading…
Reference in New Issue
Block a user