... and do it make(1) way.
This commit is contained in:
parent
c27ec88714
commit
d79f28bba4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76021
@ -97,11 +97,11 @@ whereobj:
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
cleanobj:
|
cleanobj:
|
||||||
@if [ "${CANONICALOBJDIR}" != "${.CURDIR}" -a -d ${CANONICALOBJDIR}/ ]; then \
|
.if ${CANONICALOBJDIR} != ${.CURDIR} && exists(${CANONICALOBJDIR}/)
|
||||||
rm -rf ${CANONICALOBJDIR}; \
|
@rm -rf ${CANONICALOBJDIR}
|
||||||
else \
|
.else
|
||||||
cd ${.CURDIR} && ${MAKE} clean cleandepend; \
|
@cd ${.CURDIR} && ${MAKE} clean cleandepend
|
||||||
fi
|
.endif
|
||||||
@if [ -h ${.CURDIR}/obj ]; then rm -f ${.CURDIR}/obj; fi
|
@if [ -h ${.CURDIR}/obj ]; then rm -f ${.CURDIR}/obj; fi
|
||||||
|
|
||||||
.if !target(clean)
|
.if !target(clean)
|
||||||
|
Loading…
Reference in New Issue
Block a user