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
60f6f55742
commit
7841ac2fa9
@ -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