summaryrefslogtreecommitdiffstats
path: root/share/examples/Makefile
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-04-14 21:04:42 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-04-14 21:04:42 +0000
commitc41790fef1cb2ed2cad05aa6c9ff83de183593e3 (patch)
tree843135ddb784aa6430401ed2b918689a6b439550 /share/examples/Makefile
parent996e1d4975f2fa19ea8731e0fef36171e535f820 (diff)
downloadFreeBSD-src-c41790fef1cb2ed2cad05aa6c9ff83de183593e3.zip
FreeBSD-src-c41790fef1cb2ed2cad05aa6c9ff83de183593e3.tar.gz
Rework META_TARGETS so that it automatically adds META_DEPS to the targets.
This will only be done if the target is defined, so if the target is defined after bsd.sys.mk is included then it needs to manually add ${META_DEPS} still. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share/examples/Makefile')
-rw-r--r--share/examples/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/examples/Makefile b/share/examples/Makefile
index cbc85b0..ed5c3f3 100644
--- a/share/examples/Makefile
+++ b/share/examples/Makefile
@@ -222,7 +222,7 @@ beforeinstall: ${SHARED} etc-examples
META_TARGETS+= copies symlinks
.ORDER: ${SHARED} etc-examples
-copies: ${META_DEPS}
+copies:
.for i in ${LDIRS}
if [ -L ${DESTDIR}${BINDIR}/$i ]; then \
rm -f ${DESTDIR}${BINDIR}/$i; \
@@ -235,7 +235,7 @@ copies: ${META_DEPS}
${.CURDIR}/${file} ${DESTDIR}${BINDIR}/${file}
.endfor
-symlinks: ${META_DEPS}
+symlinks:
.for i in ${LDIRS}
rm -rf ${DESTDIR}${BINDIR}/$i
ln -s ${.CURDIR}/$i ${DESTDIR}${BINDIR}/$i
OpenPOWER on IntegriCloud