1247894Ssjg# $FreeBSD$ 2247894Ssjg 3247894Ssjg# this makefile gets hooked into everyone's dependencies so that 4247894Ssjg# distrib-dirs can be done in STAGE_OBJTOP 5247894Ssjgall: 6247894Ssjg 7247894Ssjg# mtree makes a lot of noise if we are not root, 8247894Ssjg# we don't need to see it. 9296700Sbdrewerystage-distrib-dirs: .META ${META_DEPS} 10247894Ssjg mkdir -p ${STAGE_OBJTOP} 11291307Sbdrewery INSTALL="sh ${SRCTOP}/tools/install.sh" ${.MAKE} -C ${SRCTOP}/etc \ 12291307Sbdrewery distrib-dirs -DNO_FSCHG -DWITH_TESTS DESTDIR=${STAGE_OBJTOP} 13247894Ssjg 14247894Ssjg.include <bsd.prog.mk> 15247894Ssjg 16247894Ssjg.if ${.MAKE.LEVEL} > 0 && ${MK_STAGING} == "yes" 17247894Ssjgall: stage-distrib-dirs 18247894Ssjg.endif 19