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.
This commit is contained in:
parent
7f010cfc3d
commit
e4e1027a2e
@ -73,7 +73,7 @@ distribution:
|
||||
( cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall ); \
|
||||
( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \
|
||||
( cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt ); \
|
||||
( cd ${.CURDIR}/sendmail; ${MAKE} etc-sendmail.cf ); \
|
||||
( cd ${.CURDIR}/sendmail; ${MAKE} distribution ); \
|
||||
( cd ${.CURDIR}/isdn; ${MAKE} install ); \
|
||||
pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; \
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
|
||||
|
@ -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
|
||||
|
@ -62,8 +62,6 @@ LDADD+=${SENDMAIL_LDADD}
|
||||
LDFLAGS+=${SENDMAIL_LDFLAGS}
|
||||
|
||||
beforeinstall:
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
||||
${DESTDIR}/var/log/sendmail.st
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SMDIR}/helpfile \
|
||||
${DESTDIR}/etc/mail/helpfile
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user