summaryrefslogtreecommitdiffstats
path: root/share/sendmail/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/sendmail/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/sendmail/Makefile')
-rw-r--r--share/sendmail/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/sendmail/Makefile b/share/sendmail/Makefile
index 9ec23f2..84757dd 100644
--- a/share/sendmail/Makefile
+++ b/share/sendmail/Makefile
@@ -18,7 +18,7 @@ all clean cleandir depend lint tags:
beforeinstall: ${SHARED}
META_TARGETS+= copies symlinks
-copies: ${META_DEPS}
+copies:
if [ -L ${DDIR}/${CFDIR} ]; then rm -f ${DDIR}/${CFDIR}; fi
.for dir in ${CFDIRS}
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755 -d ${DDIR}/${dir}
@@ -27,7 +27,7 @@ copies: ${META_DEPS}
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 ${SENDMAIL_DIR}/${file} ${DDIR}/${file}
.endfor
-symlinks: ${META_DEPS}
+symlinks:
rm -rf ${DDIR}/${CFDIR}; ln -s ${SENDMAIL_DIR}/${CFDIR} ${DDIR}/${CFDIR}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud