diff options
Diffstat (limited to 'share/sendmail/Makefile')
-rw-r--r-- | share/sendmail/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/sendmail/Makefile b/share/sendmail/Makefile index 2b1ae07..1dac259 100644 --- a/share/sendmail/Makefile +++ b/share/sendmail/Makefile @@ -19,7 +19,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} @@ -28,7 +28,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> |