summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2001-03-01 03:50:28 +0000
committergshapiro <gshapiro@FreeBSD.org>2001-03-01 03:50:28 +0000
commitd383ddef28b8f789fb9dcae02094d31d7ae58d79 (patch)
treeb210bb38df18886d1f7a390e23b78599bc3129bf /etc
parentac2889642921d7da6cc71f27ecf553e919eb145b (diff)
downloadFreeBSD-src-d383ddef28b8f789fb9dcae02094d31d7ae58d79.zip
FreeBSD-src-d383ddef28b8f789fb9dcae02094d31d7ae58d79.tar.gz
Move installation of sendmail helpfile into etc/sendmail/Makefile. It is
a user configurable file and it would benefit from mergemaster.
Diffstat (limited to 'etc')
-rw-r--r--etc/sendmail/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/sendmail/Makefile b/etc/sendmail/Makefile
index 43f602d..822899e 100644
--- a/etc/sendmail/Makefile
+++ b/etc/sendmail/Makefile
@@ -5,7 +5,10 @@ M4= m4
CHMOD= chmod
ROMODE= 444
RM= rm -f
-CFDIR= ${.CURDIR}/../../contrib/sendmail/cf
+
+SENDMAIL_DIR= ${.CURDIR}/../../contrib/sendmail
+SMDIR= ${SENDMAIL_DIR}/src
+CFDIR= ${SENDMAIL_DIR}/cf
# this is overkill, but....
M4FILES!= find ${CFDIR} -type f -name '*.m4' -print
@@ -72,6 +75,8 @@ distribution: freebsd.cf freebsd.mc ${INSTALL_CF}
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 freebsd.cf \
${DESTDIR}/etc/mail/sendmail.cf
.endif
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SMDIR}/helpfile \
+ ${DESTDIR}/etc/mail/helpfile
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${DESTDIR}/var/log/sendmail.st
OpenPOWER on IntegriCloud