Fix the fix in rev.1.34.
Makes `cleandir' DTRT if MAKEOBJDIRPREFIX set and not empty, like in `buildworld' case.
This commit is contained in:
parent
e01ec964a3
commit
0055fbf663
@ -97,7 +97,7 @@ whereobj:
|
||||
.endif
|
||||
|
||||
cleanobj:
|
||||
@if [ -z "${MAKEOBJDIRPREFIX}" -a -d ${CANONICALOBJDIR}/ ]; then \
|
||||
@if [ "${CANONICALOBJDIR}" != "${.CURDIR}" -a -d ${CANONICALOBJDIR}/ ]; then \
|
||||
rm -rf ${CANONICALOBJDIR}; \
|
||||
else \
|
||||
cd ${.CURDIR} && ${MAKE} clean cleandepend; \
|
||||
|
Loading…
Reference in New Issue
Block a user