diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-03-11 23:45:09 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-03-11 23:45:09 +0000 |
commit | d5cc05798547f6546979521b1bccf3def5fc4811 (patch) | |
tree | 4e5100019da5a280cc182d0139aa8759b1ae1a69 /share/sendmail/Makefile | |
parent | 4d7ae5ef71a055fe45993e4d9786163b640da874 (diff) |
DIRDEPS_BUILD: Fix staging of share/sendmail and share/examples.
Sponsored by: EMC / Isilon Storage Division
Notes
Notes:
svn path=/head/; revision=296695
Diffstat (limited to 'share/sendmail/Makefile')
-rw-r--r-- | share/sendmail/Makefile | 9 |
1 files changed, 7 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> |