diff options
author | asmodai <asmodai@FreeBSD.org> | 2001-03-29 14:03:07 +0000 |
---|---|---|
committer | asmodai <asmodai@FreeBSD.org> | 2001-03-29 14:03:07 +0000 |
commit | c3030e9fc4321a085b16cd13da3968ddd2c3d79c (patch) | |
tree | f0d28587120af00ec248659215750d1b39608ea4 /etc/Makefile | |
parent | 6b7dcb373b1e1adaa0369944b5e3c6fddb35b12a (diff) | |
download | FreeBSD-src-c3030e9fc4321a085b16cd13da3968ddd2c3d79c.zip FreeBSD-src-c3030e9fc4321a085b16cd13da3968ddd2c3d79c.tar.gz |
Change NO_MAKEDEV to a finer granularity method:
NO_MAKEDEV_INSTALL and NO_MAKEDEV_RUN. The former implying the latter.
The names imply what they do. The last commit by DES based on a PR defeated
the original idea behind NO_MAKEDEV, which was not to run MAKEDEV, but to do
the installation of MAKEDEV. This should satisfy both parties on the MAKEDEV
challenge.
Diffstat (limited to 'etc/Makefile')
-rw-r--r-- | etc/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile index 4be00aa..2dc2b2c 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -92,11 +92,13 @@ distribution: (cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${SSL} \ ${DESTDIR}/etc/ssl ) .endif -.if !defined(NO_MAKEDEV) +.if !defined(NO_MAKEDEV_INSTALL) ( cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ MAKEDEV.local MAKEDEV ${DESTDIR}/dev ) +.if !defined(NO_MAKEDEV_RUN) (cd ${DESTDIR}/dev; sh MAKEDEV all) .endif +.endif (cd ${.CURDIR}/root; \ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.cshrc \ ${DESTDIR}/root/.cshrc; \ |