Move the TESTSBASE definition to bsd.own.mk.
We need to be able to reference the value of TESTSBASE without requiring the inclusion of bsd.test.mk (e.g. in etc/Makefile), so move its definition to the more generic bsd.own.mk. Submitted by: Julio Merino jmmv google.com Reviewed by: sjg MFC after: 2 weeks
This commit is contained in:
parent
cb56d4a851
commit
5e6f3a8ed7
@ -664,4 +664,8 @@ $xGRP= ${_gid}
|
||||
|
||||
.endif # !_WITHOUT_SRCCONF
|
||||
|
||||
# Pointer to the top directory into which tests are installed. Should not be
|
||||
# overriden by Makefiles, but the user may choose to set this in src.conf(5).
|
||||
TESTSBASE?= /usr/tests
|
||||
|
||||
.endif # !target(__<bsd.own.mk>__)
|
||||
|
@ -12,10 +12,6 @@
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
# Pointer to the top directory into which tests are installed. Should not be
|
||||
# overriden by Makefiles, but the user may choose to set this in src.conf(5).
|
||||
TESTSBASE?= /usr/tests
|
||||
|
||||
# Directory in which to install tests defined by the current Makefile.
|
||||
# Makefiles have to override this to point to a subdirectory of TESTSBASE.
|
||||
TESTSDIR?= .
|
||||
|
Loading…
Reference in New Issue
Block a user