aboutsummaryrefslogtreecommitdiff
path: root/etc/sendmail/Makefile
diff options
context:
space:
mode:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>2001-02-22 03:55:08 +0000
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>2001-02-22 03:55:08 +0000
commite4e1027a2e276ac8d99f273dae97273f0b9b9f2c (patch)
tree3b7870f42ab9d79c876e6c9208b1ea7b49e05c29 /etc/sendmail/Makefile
parent7f010cfc3d4e8e83fe0e4ced0dc33ea7fe88d142 (diff)
downloadsrc-e4e1027a2e276ac8d99f273dae97273f0b9b9f2c.tar.gz
src-e4e1027a2e276ac8d99f273dae97273f0b9b9f2c.zip
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.
Notes
Notes: svn path=/head/; revision=72843
Diffstat (limited to 'etc/sendmail/Makefile')
-rw-r--r--etc/sendmail/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/sendmail/Makefile b/etc/sendmail/Makefile
index c0b565a88e77..76e0679fcb06 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