aboutsummaryrefslogtreecommitdiff
path: root/share/sendmail
diff options
context:
space:
mode:
Diffstat (limited to 'share/sendmail')
-rw-r--r--share/sendmail/Makefile9
-rw-r--r--share/sendmail/Makefile.depend1
2 files changed, 8 insertions, 2 deletions
diff --git a/share/sendmail/Makefile b/share/sendmail/Makefile
index a548b63144e5..c8dee5a3f56a 100644
--- a/share/sendmail/Makefile
+++ b/share/sendmail/Makefile
@@ -16,8 +16,10 @@ SHARED?= copies
all clean cleandir depend lint tags:
beforeinstall: ${SHARED}
+META_COOKIES+= copies symlinks
-copies::
+copies:
+ ${META_COOKIE_RM}
if [ -L ${DDIR}/${CFDIR} ]; then rm -f ${DDIR}/${CFDIR}; fi
.for dir in ${CFDIRS}
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755 -d ${DDIR}/${dir}
@@ -25,8 +27,11 @@ copies::
.for file in ${CFFILES}
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 ${SENDMAIL_DIR}/${file} ${DDIR}/${file}
.endfor
+ ${META_COOKIE_TOUCH}
-symlinks::
+symlinks:
+ ${META_COOKIE_RM}
rm -rf ${DDIR}/${CFDIR}; ln -s ${SENDMAIL_DIR}/${CFDIR} ${DDIR}/${CFDIR}
+ ${META_COOKIE_TOUCH}
.include <bsd.prog.mk>
diff --git a/share/sendmail/Makefile.depend b/share/sendmail/Makefile.depend
index f80275d86ab1..d7cfba0e4f6e 100644
--- a/share/sendmail/Makefile.depend
+++ b/share/sendmail/Makefile.depend
@@ -2,6 +2,7 @@
# Autogenerated - do NOT edit!
DIRDEPS = \
+ usr.bin/xinstall.host \
.include <dirdeps.mk>