summaryrefslogtreecommitdiffstats
path: root/etc/sendmail
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2001-11-20 03:41:05 +0000
committergshapiro <gshapiro@FreeBSD.org>2001-11-20 03:41:05 +0000
commit96bd9ad269f51889ca6d97b64bbabc5af98e1caf (patch)
treeb306db162960c20f6182a585b0e47260ab5f73be /etc/sendmail
parent823ad9f7c7fd63b01291bf4bb698b9369600b49d (diff)
downloadFreeBSD-src-96bd9ad269f51889ca6d97b64bbabc5af98e1caf.zip
FreeBSD-src-96bd9ad269f51889ca6d97b64bbabc5af98e1caf.tar.gz
Since buildworld builds cf files specified in SENDMAIL_ADDITIONAL_MC,
installworld should install them. PR: 29928 Submitted by: wollman MFC after: 3 days
Diffstat (limited to 'etc/sendmail')
-rw-r--r--etc/sendmail/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/sendmail/Makefile b/etc/sendmail/Makefile
index 1445076..7ac0cc9 100644
--- a/etc/sendmail/Makefile
+++ b/etc/sendmail/Makefile
@@ -42,7 +42,8 @@ ALL+= ${INSTALL_CF}
# Additional .cf files to build
.if defined(SENDMAIL_ADDITIONAL_MC)
-ALL+= ${SENDMAIL_ADDITIONAL_MC:S/.mc$/.cf/g}
+SENDMAIL_ADDITIONAL_CF= ${SENDMAIL_ADDITIONAL_MC:S/.mc$/.cf/g}
+ALL+= ${SENDMAIL_ADDITIONAL_CF}
.endif
CLEANFILES+= ${ALL}
@@ -61,6 +62,10 @@ install: ${INSTALL_CF}
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 ${INSTALL_CF} \
${DEST_CF}
.endif
+.if defined(SENDMAIL_ADDITIONAL_CF)
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
+ ${SENDMAIL_ADDITIONAL_CF} ${DESTDIR}/etc/mail
+.endif
.endif
# Helper for src/etc/Makefile
OpenPOWER on IntegriCloud