3 # this makefile gets hooked into everyone's dependencies so that
4 # distrib-dirs can be done in STAGE_OBJTOP
7 # mtree makes a lot of noise if we are not root,
8 # we don't need to see it.
9 stage-distrib-dirs: .META ${META_DEPS}
10 mkdir -p ${STAGE_OBJTOP}
11 INSTALL="sh ${SRCTOP}/tools/install.sh" ${.MAKE} -C ${SRCTOP}/etc \
12 distrib-dirs -DNO_FSCHG -DWITH_TESTS DESTDIR=${STAGE_OBJTOP}
14 .include <bsd.prog.mk>
16 .if ${.MAKE.LEVEL} > 0 && ${MK_STAGING} == "yes"
17 all: stage-distrib-dirs