MFH
Sponsored by: The FreeBSD Foundation
This commit is contained in:
@@ -220,9 +220,10 @@ PACKAGE_bhyve/vmrun.sh= bhyve
|
||||
SHARED?= copies
|
||||
|
||||
beforeinstall: ${SHARED} etc-examples
|
||||
META_TARGETS+= copies symlinks
|
||||
.ORDER: ${SHARED} etc-examples
|
||||
|
||||
copies:
|
||||
copies: ${META_DEPS}
|
||||
.for i in ${LDIRS}
|
||||
if [ -L ${DESTDIR}${BINDIR}/$i ]; then \
|
||||
rm -f ${DESTDIR}${BINDIR}/$i; \
|
||||
@@ -235,7 +236,7 @@ copies:
|
||||
${.CURDIR}/${file} ${DESTDIR}${BINDIR}/${file}
|
||||
.endfor
|
||||
|
||||
symlinks:
|
||||
symlinks: ${META_DEPS}
|
||||
.for i in ${LDIRS}
|
||||
rm -rf ${DESTDIR}${BINDIR}/$i
|
||||
ln -s ${.CURDIR}/$i ${DESTDIR}${BINDIR}/$i
|
||||
@@ -243,7 +244,7 @@ symlinks:
|
||||
|
||||
etc-examples:
|
||||
.if ${SHARED} != "symlinks"
|
||||
(cd ${.CURDIR}/../../etc; ${MAKE} etc-examples)
|
||||
${_+_}(cd ${.CURDIR}/../../etc; ${MAKE} etc-examples)
|
||||
.endif
|
||||
|
||||
.if ${SHARED} != "symlinks"
|
||||
@@ -262,4 +263,4 @@ SUBDIR+=tests
|
||||
|
||||
SUBDIR_PARALLEL=
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
usr.bin/xinstall.host \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
.endif
|
||||
Reference in New Issue
Block a user