aboutsummaryrefslogtreecommitdiff
path: root/etc/sendmail
diff options
context:
space:
mode:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>2001-11-20 03:41:05 +0000
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>2001-11-20 03:41:05 +0000
commitc8e968571f3362979b350206e0ac222e59268ca9 (patch)
treeb306db162960c20f6182a585b0e47260ab5f73be /etc/sendmail
parent74cc11c2df9f0a28ce91873debb8041e2e3c2a24 (diff)
downloadsrc-c8e968571f3362979b350206e0ac222e59268ca9.tar.gz
src-c8e968571f3362979b350206e0ac222e59268ca9.zip
Since buildworld builds cf files specified in SENDMAIL_ADDITIONAL_MC,
installworld should install them. PR: 29928 Submitted by: wollman MFC after: 3 days
Notes
Notes: svn path=/head/; revision=86639
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 144507668abc..7ac0cc9c2bbd 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