allow NO_SENDMAIL to equal "no"

This commit is contained in:
mrg 2003-01-09 16:57:45 +00:00
parent 6f6842cf75
commit b83a08e1ff
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.243 2003/01/06 14:47:28 lukem Exp $
# $NetBSD: Makefile,v 1.244 2003/01/09 16:57:45 mrg Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@ -276,7 +276,7 @@ install-etc-files: check_DESTDIR
.if (${MKCRYPTO} != "no")
(cd ${NETBSDSRCDIR}/usr.bin/ssh; ${MAKE} distribution)
.endif
.if !defined(NO_SENDMAIL)
.if !defined(NO_SENDMAIL) || ${NO_SENDMAIL} == "no"
(cd ${NETBSDSRCDIR}/gnu/usr.sbin/sendmail/cf/cf; ${MAKE} distribution)
.endif

View File

@ -1,11 +1,11 @@
# $NetBSD: Makefile,v 1.7 2002/10/01 03:50:11 itojun Exp $
# $NetBSD: Makefile,v 1.8 2003/01/09 16:57:46 mrg Exp $
# XXX Temporary for NO_SENDMAIL
.include <bsd.own.mk>
SUBDIR= dbsym map-mbone mdsetimage mrinfo mrouted mtrace postfix
.if !defined(NO_SENDMAIL)
.if !defined(NO_SENDMAIL) || ${NO_SENDMAIL} == "no"
SUBDIR+= sendmail
.endif