diff options
author | emaste <emaste@FreeBSD.org> | 2015-10-15 01:46:55 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2015-10-15 01:46:55 +0000 |
commit | a888cf588cf8e4f8b9923cefe83e67190f0726d0 (patch) | |
tree | 2868a40bb4c2f302c978d93952ff8581c6bdb414 /Makefile.inc1 | |
parent | 75679462b6d97f0a92683e973e15c3c02d5589b4 (diff) | |
download | FreeBSD-src-a888cf588cf8e4f8b9923cefe83e67190f0726d0.zip FreeBSD-src-a888cf588cf8e4f8b9923cefe83e67190f0726d0.tar.gz |
Create /usr/tests *.debug file directory hierarchy
Reviewed by: bdrewery, ngie
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3896
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 9332b30..5d1917c 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -557,6 +557,10 @@ _worldtmp: mkdir -p ${WORLDTMP}${TESTSBASE} mtree -deU -f ${.CURDIR}/etc/mtree/BSD.tests.dist \ -p ${WORLDTMP}${TESTSBASE} >/dev/null +.if ${MK_DEBUG_FILES} != "no" + mtree -deU -f ${.CURDIR}/etc/mtree/BSD.tests.dist \ + -p ${WORLDTMP}/usr/lib/debug/${TESTSBASE} >/dev/null +.endif .endif .for _mtree in ${LOCAL_MTREE} mtree -deU -f ${.CURDIR}/${_mtree} -p ${WORLDTMP} > /dev/null @@ -892,6 +896,10 @@ distributeworld installworld: _installcheck_world -mkdir -p ${DESTDIR}/${DISTDIR}/${dist}${TESTSBASE} mtree -deU -f ${.CURDIR}/etc/mtree/BSD.tests.dist \ -p ${DESTDIR}/${DISTDIR}/${dist}${TESTSBASE} >/dev/null +.if ${MK_DEBUG_FILES} != "no" + mtree -deU -f ${.CURDIR}/etc/mtree/BSD.tests.dist \ + -p ${DESTDIR}/${DISTDIR}/${dist}/usr/lib/debug/${TESTSBASE} >/dev/null +.endif .endif .if defined(NO_ROOT) ${IMAKEENV} mtree -C -f ${.CURDIR}/etc/mtree/BSD.root.dist | \ |