svn commit: r257096 - head/share/mk

Rui Paulo rpaulo at FreeBSD.org
Fri Oct 25 05:12:32 UTC 2013


Author: rpaulo
Date: Fri Oct 25 05:12:31 2013
New Revision: 257096
URL: http://svnweb.freebsd.org/changeset/base/257096

Log:
  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

Modified:
  head/share/mk/bsd.own.mk
  head/share/mk/bsd.test.mk

Modified: head/share/mk/bsd.own.mk
==============================================================================
--- head/share/mk/bsd.own.mk	Fri Oct 25 05:11:10 2013	(r257095)
+++ head/share/mk/bsd.own.mk	Fri Oct 25 05:12:31 2013	(r257096)
@@ -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>__)

Modified: head/share/mk/bsd.test.mk
==============================================================================
--- head/share/mk/bsd.test.mk	Fri Oct 25 05:11:10 2013	(r257095)
+++ head/share/mk/bsd.test.mk	Fri Oct 25 05:12:31 2013	(r257096)
@@ -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?= .


More information about the svn-src-head mailing list