cd7393b940
again." As an alternative to sendmail_enable=NONE, solve the boot time problem for non-sendmail users completely by moving all of the sendmail startup code from /etc/rc to /etc/rc.sendmail. The source for that script will be kept in src/etc/sendmail/rc.sendmail so make.conf's NO_SENDMAIL will prevent it from being installed. A new rc.conf variable, mta_start_script specifies the script to run to start the user's preferred MTA. For backward compatibility, it will default to /etc/rc.sendmail. The specified script is called out of /etc/rc after checking to make sure it exists. A new rc.sendmail.8 man page has also been added which now houses the sendmail_* variable descriptions formerly in rc.conf.5. Use /etc/rc.sendmail in /etc/mail/Makefile to reduce code duplication. Reviewed by: -current, -stable, obrien, peter, ru MFC after: 1 week
32 lines
665 B
Makefile
32 lines
665 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
|
# $FreeBSD$
|
|
|
|
MAN= adding_user.8 \
|
|
crash.8 \
|
|
diskless.8 \
|
|
intro.8 \
|
|
picobsd.8 \
|
|
rc.8 \
|
|
sticky.8 \
|
|
yp.8
|
|
|
|
.if !defined(NO_SENDMAIL)
|
|
MAN+= rc.sendmail.8
|
|
.endif
|
|
|
|
MLINKS= rc.8 rc.early.8 rc.8 rc.serial.8 rc.8 rc.pccard.8 rc.8 rc.network.8
|
|
MLINKS+=rc.8 rc.firewall.8 rc.8 rc.atm.8 rc.8 rc.local.8 rc.8 rc.shutdown.8
|
|
MLINKS+=yp.8 YP.8 yp.8 NIS.8 yp.8 nis.8
|
|
|
|
# XXX NOT IMPORTED: man8.hp300 man8.tahoe man8.vax
|
|
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "alpha"
|
|
MLINKS+=rc.8 ${MACHINE_ARCH}/rc.${MACHINE_ARCH}.8
|
|
SUBDIR= man8.${MACHINE_ARCH}
|
|
.endif
|
|
|
|
.if make(maninstall)
|
|
maninstall:: _SUBDIR
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|