Don't install MAKEDEV or MAKEDEV.local if NO_MAKEDEV is set.

PR:		25596
Submitted by:	Jonathan Perkin <sketchy@bsdcode.net>
This commit is contained in:
Dag-Erling Smørgrav 2001-03-13 03:05:42 +00:00
parent df472ea4f3
commit 62f0b82715

View File

@ -76,9 +76,7 @@ distribution:
( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \
( cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt ); \
( 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 )
pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; )
.if !defined(NO_SENDMAIL)
( cd ${.CURDIR}/sendmail; ${MAKE} distribution );
.endif
@ -94,6 +92,8 @@ distribution:
${DESTDIR}/etc/ssl )
.endif
.if !defined(NO_MAKEDEV)
( cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
MAKEDEV.local MAKEDEV ${DESTDIR}/dev )
(cd ${DESTDIR}/dev; sh MAKEDEV all)
.endif
(cd ${.CURDIR}/root; \