diff options
author | des <des@FreeBSD.org> | 2001-03-13 03:05:42 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2001-03-13 03:05:42 +0000 |
commit | 09aba933aa00bdc9102922fe48f75c012cedd8b1 (patch) | |
tree | 154179ff5b490efe1a92a6b9fe49573899686a98 /etc | |
parent | dc424eafe8a1fb8bae39af8579eb5c8376fb4321 (diff) | |
download | FreeBSD-src-09aba933aa00bdc9102922fe48f75c012cedd8b1.zip FreeBSD-src-09aba933aa00bdc9102922fe48f75c012cedd8b1.tar.gz |
Don't install MAKEDEV or MAKEDEV.local if NO_MAKEDEV is set.
PR: 25596
Submitted by: Jonathan Perkin <sketchy@bsdcode.net>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/Makefile b/etc/Makefile index 05ecdbe..14814f5 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -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; \ |