svn commit: r268957 - head

Dimitry Andric dim at FreeBSD.org
Mon Jul 21 21:26:10 UTC 2014


Author: dim
Date: Mon Jul 21 21:26:10 2014
New Revision: 268957
URL: http://svnweb.freebsd.org/changeset/base/268957

Log:
  Run mtree for BSD.tests.dist during make xdev-install, if the tests are
  enabled (which they are in the default configuration).  Otherwise, it
  will fail because ${XDDESTDIR}/usr/include/atf-c does not exist.
  
  MFC after:	3 days

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Mon Jul 21 20:38:21 2014	(r268956)
+++ head/Makefile.inc1	Mon Jul 21 21:26:10 2014	(r268957)
@@ -1942,6 +1942,10 @@ _xi-mtree:
 	    -p ${XDDESTDIR}/usr >/dev/null
 	mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \
 	    -p ${XDDESTDIR}/usr/include >/dev/null
+.if ${MK_TESTS} != "no"
+	mtree -deU -f ${.CURDIR}/etc/mtree/BSD.tests.dist \
+	    -p ${XDDESTDIR}/usr >/dev/null
+.endif
 
 .ORDER: xdev-build _xi-mtree _xi-cross-tools _xi-includes _xi-libraries
 xdev-install: xdev-build _xi-mtree _xi-cross-tools _xi-includes _xi-libraries


More information about the svn-src-head mailing list