diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2014-07-21 21:26:10 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2014-07-21 21:26:10 +0000 |
commit | 1782c649a84c8502c09de9ab4a91d4987f440cba (patch) | |
tree | 91ca4755636dfa4dbc31f22724b3bdb8525f6756 /Makefile.inc1 | |
parent | 77f3aefe61d62f5fd012efb3dd49dfcef577e760 (diff) | |
download | src-test2-1782c649a84c8502c09de9ab4a91d4987f440cba.tar.gz src-test2-1782c649a84c8502c09de9ab4a91d4987f440cba.zip |
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
Notes
Notes:
svn path=/head/; revision=268957
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 5c16f71a3a20..d6dc6fcb603c 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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 |