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
This commit is contained in:
Dimitry Andric 2014-07-21 21:26:10 +00:00
parent 77f3aefe61
commit 1782c649a8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268957

View File

@ -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