aboutsummaryrefslogtreecommitdiff
path: root/share/sendmail/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'share/sendmail/Makefile')
-rw-r--r--share/sendmail/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/share/sendmail/Makefile b/share/sendmail/Makefile
index c8dee5a3f56a..9ec23f2030dd 100644
--- a/share/sendmail/Makefile
+++ b/share/sendmail/Makefile
@@ -16,10 +16,9 @@ SHARED?= copies
all clean cleandir depend lint tags:
beforeinstall: ${SHARED}
-META_COOKIES+= copies symlinks
+META_TARGETS+= copies symlinks
-copies:
- ${META_COOKIE_RM}
+copies: ${META_DEPS}
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,11 +26,8 @@ copies:
.for file in ${CFFILES}
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 ${SENDMAIL_DIR}/${file} ${DDIR}/${file}
.endfor
- ${META_COOKIE_TOUCH}
-symlinks:
- ${META_COOKIE_RM}
+symlinks: ${META_DEPS}
rm -rf ${DDIR}/${CFDIR}; ln -s ${SENDMAIL_DIR}/${CFDIR} ${DDIR}/${CFDIR}
- ${META_COOKIE_TOUCH}
.include <bsd.prog.mk>