summaryrefslogtreecommitdiffstats
path: root/pkgs/pseudo/stage/Makefile
blob: dac840cb24557e9a3809122cc68ea939e9f0baf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $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
	mkdir -p ${STAGE_OBJTOP}
	${.MAKE} -C ${SRCTOP}/etc distrib-dirs DESTDIR=${STAGE_OBJTOP} > $@

.include <bsd.prog.mk>

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