Author: emaste Date: Thu Oct 15 01:46:55 2015 New Revision: 289351 URL: https://svnweb.freebsd.org/changeset/base/289351
Log: Create /usr/tests *.debug file directory hierarchy Reviewed by: bdrewery, ngie Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3896 Modified: head/Makefile.inc1 head/etc/Makefile head/etc/mtree/BSD.debug.dist Modified: head/Makefile.inc1 ============================================================================== --- head/Makefile.inc1 Thu Oct 15 01:44:32 2015 (r289350) +++ head/Makefile.inc1 Thu Oct 15 01:46:55 2015 (r289351) @@ -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: _installch -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 | \ Modified: head/etc/Makefile ============================================================================== --- head/etc/Makefile Thu Oct 15 01:44:32 2015 (r289350) +++ head/etc/Makefile Thu Oct 15 01:46:55 2015 (r289351) @@ -343,6 +343,7 @@ MTREES+= mtree/BSD.groff.dist /usr .endif .if ${MK_TESTS} != "no" MTREES+= mtree/BSD.tests.dist ${TESTSBASE} +MTREES+= mtree/BSD.tests.dist /usr/lib/debug/${TESTSBASE} .endif .if ${MK_SENDMAIL} != "no" MTREES+= mtree/BSD.sendmail.dist / Modified: head/etc/mtree/BSD.debug.dist ============================================================================== --- head/etc/mtree/BSD.debug.dist Thu Oct 15 01:44:32 2015 (r289350) +++ head/etc/mtree/BSD.debug.dist Thu Oct 15 01:46:55 2015 (r289351) @@ -61,6 +61,8 @@ .. sbin .. + tests + .. .. .. .. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "[email protected]"
