Only tweak DESTDIR, etc if actively invoking "make check"
This fixes "make installworld"/"make install" (standard use).
This commit is contained in:
parent
bdf5887206
commit
d935ed8e74
@ -101,7 +101,7 @@ realcheck: .PHONY
|
||||
fi
|
||||
@env ${TESTS_ENV:Q} ${KYUA} test -k ${CHECKDIR}/Kyuafile
|
||||
|
||||
.ifdef _TESTS_USE_OBJDIR
|
||||
.if defined(_TESTS_USE_OBJDIR) && make(check)
|
||||
DESTDIR:= ${.OBJDIR}/checkdir
|
||||
CLEANDIRS+= ${DESTDIR}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user