svn commit: r321482 - projects/runtime-coverage/etc

Ngie Cooper ngie at FreeBSD.org
Tue Jul 25 15:58:45 UTC 2017


Author: ngie
Date: Tue Jul 25 15:58:44 2017
New Revision: 321482
URL: https://svnweb.freebsd.org/changeset/base/321482

Log:
  Spam BSD.coverage.dist, similar to BSD.debug.dist, unconditionally on /usr/lib/cov
  
  /usr/lib/cov was chosen because while there isn't a standardized upstream path
  that's used for storing .gcda's, /usr/lib/cov seemed like a good symmetry with
  the /usr/lib/debug for debug files for gdb, et al.
  
  Parameterize out directories that are used to spam BSD.debug.dist,
  BSD.lib32.dist, BSD.libsoft.dist, and BSD.tests.dist, and spam on
  /usr/lib/cov .

Modified:
  projects/runtime-coverage/etc/Makefile

Modified: projects/runtime-coverage/etc/Makefile
==============================================================================
--- projects/runtime-coverage/etc/Makefile	Tue Jul 25 15:33:34 2017	(r321481)
+++ projects/runtime-coverage/etc/Makefile	Tue Jul 25 15:58:44 2017	(r321482)
@@ -331,18 +331,22 @@ MTREES=		mtree/BSD.root.dist		/		\
 		mtree/BSD.var.dist		/var		\
 		mtree/BSD.usr.dist		/usr		\
 		mtree/BSD.include.dist		/usr/include	\
+		mtree/BSD.coverage.dist		/usr/lib	\
 		mtree/BSD.debug.dist		/usr/lib
 .if ${MK_LIB32} != "no"
-MTREES+=	mtree/BSD.lib32.dist		/usr
-MTREES+=	mtree/BSD.lib32.dist		/usr/lib/debug/usr
+.for dir in /usr /usr/lib/cov/usr /usr/lib/debug/usr
+MTREES+=	mtree/BSD.lib32.dist		${dir}
+.endfor
 .endif
 .if ${MK_LIBSOFT} != "no"
-MTREES+=	mtree/BSD.libsoft.dist		/usr
-MTREES+=	mtree/BSD.libsoft.dist		/usr/lib/debug/usr
+.for dir in /usr /usr/lib/cov/usr /usr/lib/debug/usr
+MTREES+=	mtree/BSD.libsoft.dist		${dir}
+.endfor
 .endif
 .if ${MK_TESTS} != "no"
-MTREES+=	mtree/BSD.tests.dist		${TESTSBASE}
-MTREES+=	mtree/BSD.tests.dist		/usr/lib/debug/${TESTSBASE}
+.for dir in ${TESTSBASE} /usr/lib/cov/${TESTSBASE} /usr/lib/debug/${TESTSBASE}
+MTREES+=	mtree/BSD.tests.dist		${dir}
+.endfor
 .endif
 .if ${MK_SENDMAIL} != "no"
 MTREES+=	mtree/BSD.sendmail.dist		/


More information about the svn-src-projects mailing list