Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2013 05:12:32 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r257096 - head/share/mk
Message-ID:  <201310250512.r9P5CWXG003740@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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?= .



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310250512.r9P5CWXG003740>