diff options
| author | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2003-07-06 19:17:04 +0000 |
|---|---|---|
| committer | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2003-07-06 19:17:04 +0000 |
| commit | a99be61b7d18064886b9dda7705d8086a7567f50 (patch) | |
| tree | ee197af21d8ec446134781c94e4df576ba967546 | |
| parent | 25b7a99154c4830f6dfbc8e02dc5a89496800d4e (diff) | |
Notes
| -rw-r--r-- | etc/mail/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/etc/mail/Makefile b/etc/mail/Makefile index 2ce4394fc3fa..5fd72049c055 100644 --- a/etc/mail/Makefile +++ b/etc/mail/Makefile @@ -49,11 +49,14 @@ # If '<HOSTNAME>.mc' does not exist, it is created using 'freebsd.mc' # as a template. # -# It also uses 'freebsd.submit.mc' as the default mail submission .mc file. -# This can be changed by defining SENDMAIL_SUBMIT_MC in /etc/make.conf, -# e.g.: +# It also uses '<HOSTNAME>.submit.mc' as the default mail submission .mc +# file. This can be changed by defining SENDMAIL_SUBMIT_MC in +# /etc/make.conf, e.g.: # # SENDMAIL_SUBMIT_MC=/etc/mail/mysubmit.mc +# +# If '<HOSTNAME>.submit.mc' does not exist, it is created using +# 'freebsd.submit.mc' as a template. # ------------------------------------------------------------------------ # # The Makefile knows about the following maps: @@ -69,7 +72,13 @@ ${SENDMAIL_MC}: cp freebsd.mc ${SENDMAIL_MC} .endif -SENDMAIL_SUBMIT_MC?= freebsd.submit.mc +.ifndef SENDMAIL_SUBMIT_MC +SENDMAIL_SUBMIT_MC!= hostname +SENDMAIL_SUBMIT_MC:= ${SENDMAIL_SUBMIT_MC}.submit.mc + +${SENDMAIL_SUBMIT_MC}: + cp freebsd.submit.mc ${SENDMAIL_SUBMIT_MC} +.endif INSTALL_CF= ${SENDMAIL_MC:R}.cf |
