summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-07-24 20:16:45 +0000
committerdim <dim@FreeBSD.org>2014-07-24 20:16:45 +0000
commitf9d311d90a7334dc987df3363e2870e342da6ddd (patch)
treefbe9043be1d09a01fd1f41765374b5008d3df1d5 /Makefile.inc1
parent59960de643882f1e6ff23bc95ce46f00af750c0f (diff)
downloadFreeBSD-src-f9d311d90a7334dc987df3363e2870e342da6ddd.zip
FreeBSD-src-f9d311d90a7334dc987df3363e2870e342da6ddd.tar.gz
MFC r268957:
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.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc14
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 8c23f82..4b1f7f6 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1962,6 +1962,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 _xi-links
xdev-install: xdev-build _xi-mtree _xi-cross-tools _xi-includes _xi-libraries _xi-links
OpenPOWER on IntegriCloud