aboutsummaryrefslogblamecommitdiff
path: root/targets/pseudo/stage/Makefile
blob: ed3217d9f7433bc9539a866f6817f4abd3953c7e (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                
                                      
                                

                                                                           





                                                
# $FreeBSD$

# this makefile gets hooked into everyone's dependencies so that
# distrib-dirs can be done in STAGE_OBJTOP
all:

# mtree makes a lot of noise if we are not root, 
# we don't need to see it.
stage-distrib-dirs: .META ${META_DEPS}
	mkdir -p ${STAGE_OBJTOP}
	INSTALL="sh ${SRCTOP}/tools/install.sh" ${.MAKE} -C ${SRCTOP}/etc \
	    distrib-dirs -DNO_FSCHG -DWITH_TESTS DESTDIR=${STAGE_OBJTOP}

.include <bsd.prog.mk>

.if ${.MAKE.LEVEL} > 0 && ${MK_STAGING} == "yes"
all: stage-distrib-dirs
.endif