summaryrefslogtreecommitdiffstats
path: root/share/sendmail/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'share/sendmail/Makefile')
-rw-r--r--share/sendmail/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/share/sendmail/Makefile b/share/sendmail/Makefile
index 0e1a27d..2b1ae07 100644
--- a/share/sendmail/Makefile
+++ b/share/sendmail/Makefile
@@ -17,8 +17,9 @@ SHARED?= copies
all clean cleandir depend lint tags:
beforeinstall: ${SHARED}
+META_TARGETS+= copies symlinks
-copies::
+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,7 +28,7 @@ copies::
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 ${SENDMAIL_DIR}/${file} ${DDIR}/${file}
.endfor
-symlinks::
+symlinks: ${META_DEPS}
rm -rf ${DDIR}/${CFDIR}; ln -s ${SENDMAIL_DIR}/${CFDIR} ${DDIR}/${CFDIR}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud