Do not install sendmail example/infrastructure files if NO_SENDMAIL is

defined.  The only two files installed in this case are aliases (which
I believe other MTAs may use) and mailer.conf (which isn't sendmail,
it belongs to mailwrapper).

PR:		50477
MFC after:	5 days
This commit is contained in:
Gregory Neil Shapiro 2003-07-06 19:23:31 +00:00
parent a99be61b7d
commit 6e82f17aa8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117292

View File

@ -45,8 +45,12 @@ NAMEDB= PROTO.localhost.rev PROTO.localhost-v6.rev named.conf named.root \
PPPCNF= ppp.conf
.if defined(NO_SENDMAIL)
ETCMAIL=mailer.conf aliases
.else
ETCMAIL=Makefile README mailer.conf access.sample virtusertable.sample \
mailertable.sample aliases
.endif
# Special top level files for FreeBSD
FREEBSD=COPYRIGHT