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

Submitted by:	ru
This commit is contained in:
Gregory Neil Shapiro 2001-03-01 03:51:18 +00:00
parent a38a3724b6
commit 193f471d33
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=73251

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