1 # @(#)Makefile 8.19 (Berkeley) 1/14/97
5 CFDIR= ${.CURDIR}/../../contrib/sendmail/cf
15 $(M4) -D_CF_DIR_=${CFDIR}/ ${CFDIR}/m4/cf.m4 ${@:R}.mc) > ${.TARGET}
16 $(CHMOD) $(ROMODE) ${.TARGET}
20 # Local sendmail.cf, may be set in /etc/make.conf. Warning! If set, this
21 # causes 'make install' to always copy it over /etc/sendmail.cf!!!
22 # Caveat emptor! Be sure you want this before you enable it.
23 .if defined(SENDMAIL_CF)
34 .if defined(SENDMAIL_CF)
35 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 ${SENDMAIL_CF} \
36 ${DESTDIR}/etc/sendmail.cf
39 # Helper for src/etc/Makefile
40 etc-sendmail.cf: freebsd.cf
41 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 freebsd.cf \
42 ${DESTDIR}/etc/sendmail.cf
44 # this is overkill, but....
45 M4FILES!= find ${CFDIR} -type f -name '*.m4' -print
49 .include <bsd.prog.mk>