diff options
author | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2003-09-24 04:19:26 +0000 |
---|---|---|
committer | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2003-09-24 04:19:26 +0000 |
commit | 77e399e8bebe4e4b10020d4e8a3a449ed954e077 (patch) | |
tree | 1646e54fd19235e5d25d21f73461061a69b3d70f /etc/sendmail | |
parent | 4e7b8fcec4b0a5ab27700216f4e2cce20c61dd5d (diff) | |
download | src-77e399e8bebe4e4b10020d4e8a3a449ed954e077.tar.gz src-77e399e8bebe4e4b10020d4e8a3a449ed954e077.zip |
Notes
Diffstat (limited to 'etc/sendmail')
-rw-r--r-- | etc/sendmail/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/etc/sendmail/Makefile b/etc/sendmail/Makefile index 3b9a1f18dcd9..66f5a5a45e60 100644 --- a/etc/sendmail/Makefile +++ b/etc/sendmail/Makefile @@ -8,17 +8,17 @@ RM= rm -f SENDMAIL_DIR= ${.CURDIR}/../../contrib/sendmail SMDIR= ${SENDMAIL_DIR}/src -CFDIR= ${SENDMAIL_DIR}/cf +SENDMAIL_CF_DIR?=${SENDMAIL_DIR}/cf # this is overkill, but.... -M4FILES!= find ${CFDIR} -type f -name '*.m4' -print +M4FILES!= find ${SENDMAIL_CF_DIR} -type f -name '*.m4' -print .SUFFIXES: .mc .cf .mc.cf: ${M4FILES} ${RM} ${.TARGET} - ${M4} -D_CF_DIR_=${CFDIR}/ ${SENDMAIL_M4_FLAGS} \ - ${CFDIR}/m4/cf.m4 ${.IMPSRC} > ${.TARGET} + ${M4} -D_CF_DIR_=${SENDMAIL_CF_DIR}/ ${SENDMAIL_M4_FLAGS} \ + ${SENDMAIL_CF_DIR}/m4/cf.m4 ${.IMPSRC} > ${.TARGET} ${CHMOD} ${ROMODE} ${.TARGET} DEST_CF= ${DESTDIR}/etc/mail/sendmail.cf @@ -61,10 +61,10 @@ ${mc:T:R}.cf: ${mc} all: ${ALL} # Build the installed submit.cf from the sendmail distributed submit.mc. -freebsd.submit.cf: ${CFDIR}/cf/submit.mc +freebsd.submit.cf: ${SENDMAIL_CF_DIR}/cf/submit.mc ${RM} ${.TARGET} - ${M4} -D_CF_DIR_=${CFDIR}/ ${SENDMAIL_M4_FLAGS} \ - ${CFDIR}/m4/cf.m4 ${.ALLSRC} > ${.TARGET} + ${M4} -D_CF_DIR_=${SENDMAIL_CF_DIR}/ ${SENDMAIL_M4_FLAGS} \ + ${SENDMAIL_CF_DIR}/m4/cf.m4 ${.ALLSRC} > ${.TARGET} ${CHMOD} ${ROMODE} ${.TARGET} install distribution: @@ -76,7 +76,8 @@ install distribution: ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${.CURDIR}/freebsd.mc freebsd.cf ${DESTDIR}/etc/mail ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ - ${CFDIR}/cf/submit.mc ${DESTDIR}/etc/mail/freebsd.submit.mc + ${SENDMAIL_CF_DIR}/cf/submit.mc \ + ${DESTDIR}/etc/mail/freebsd.submit.mc ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ freebsd.submit.cf ${DESTDIR}/etc/mail ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ |