]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - targets/pseudo/stage/Makefile
MFC r349989:
[FreeBSD/FreeBSD.git] / targets / pseudo / stage / Makefile
1 # $FreeBSD$
2
3 # this makefile gets hooked into everyone's dependencies so that
4 # distrib-dirs can be done in STAGE_OBJTOP
5 all:
6
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}
13
14 .include <bsd.prog.mk>
15
16 .if ${.MAKE.LEVEL} > 0 && ${MK_STAGING} == "yes"
17 all: stage-distrib-dirs
18 .endif