summaryrefslogtreecommitdiffstats
path: root/etc/sendmail
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2001-02-22 03:55:08 +0000
committergshapiro <gshapiro@FreeBSD.org>2001-02-22 03:55:08 +0000
commit6af82228b4ff0156897b6c7036e21107615a8cef (patch)
tree479505f07659c6214b75aa018a554abebeb0330e /etc/sendmail
parentebbc740417bdae075be8b7b89fa9143470af0e65 (diff)
downloadFreeBSD-src-6af82228b4ff0156897b6c7036e21107615a8cef.zip
FreeBSD-src-6af82228b4ff0156897b6c7036e21107615a8cef.tar.gz
Move creation of the sendmail statistics file from the usr.sbin/sendmail
Makefile to the etc/sendmail Makefile to be consistent with all of the other /var file creations. In doing so, change the Makefile target from etc-sendmail.cf to distribution as it installs more than just the sendmail.cf.
Diffstat (limited to 'etc/sendmail')
-rw-r--r--etc/sendmail/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/sendmail/Makefile b/etc/sendmail/Makefile
index c0b565a..76e0679 100644
--- a/etc/sendmail/Makefile
+++ b/etc/sendmail/Makefile
@@ -37,9 +37,11 @@ install:
.endif
# Helper for src/etc/Makefile
-etc-sendmail.cf: freebsd.cf
+distribution: freebsd.cf
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 freebsd.cf \
${DESTDIR}/etc/mail/sendmail.cf
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
+ ${DESTDIR}/var/log/sendmail.st
# this is overkill, but....
M4FILES!= find ${CFDIR} -type f -name '*.m4' -print
OpenPOWER on IntegriCloud