Don't build/install sendmail related items if NO_SENDMAIL is set.

Submitted by:	ru
This commit is contained in:
gshapiro 2001-03-01 03:51:18 +00:00
parent d383ddef28
commit 8552a40ebe

View File

@ -1,7 +1,9 @@
# from: @(#)Makefile 5.11 (Berkeley) 5/21/91
# $FreeBSD$
.if !defined(NO_SENDMAIL)
SUBDIR= sendmail
.endif
BIN1= amd.map apmd.conf auth.conf \
crontab csh.cshrc csh.login csh.logout \
@ -73,11 +75,13 @@ distribution:
( cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall ); \
( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \
( cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt ); \
( cd ${.CURDIR}/sendmail; ${MAKE} distribution ); \
( cd ${.CURDIR}/isdn; ${MAKE} install ); \
pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; \
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
MAKEDEV.local MAKEDEV ${DESTDIR}/dev )
.if !defined(NO_SENDMAIL)
( cd ${.CURDIR}/sendmail; ${MAKE} distribution );
.endif
.if !defined(NOUUCP)
( cd ${.CURDIR}/../gnu/libexec/uucp/sample; ${MAKE} install )
.endif