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 10 mkdir -p ${STAGE_OBJTOP} 11 ${.MAKE} -C ${SRCTOP}/etc distrib-dirs -DWITH_TESTS \ 12 DESTDIR=${STAGE_OBJTOP} > $@.distrib_dirs 13 touch $@ 14 15.include <bsd.prog.mk> 16 17.if ${.MAKE.LEVEL} > 0 && ${MK_STAGING} == "yes" 18all: stage-distrib-dirs 19.endif 20