Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2014 21:26:10 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268957 - head
Message-ID:  <201407212126.s6LLQALu053223@svn.freebsd.org>

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



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