1# $FreeBSD$ 2 3# this makefile gets hooked into everyone's dependencies so that 4# distrib-dirs can be done in STAGE_OBJTOP 5all: 6 7# mtree makes a lot of noise if we are not root, 8# we don't need to see it. 9stage-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} 13 14.include <bsd.prog.mk> 15 16.if ${.MAKE.LEVEL} > 0 && ${MK_STAGING} == "yes" 17all: stage-distrib-dirs 18.endif 19