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.
This commit is contained in:
Jeroen Ruigrok van der Werven 2001-03-29 14:03:07 +00:00
parent 50c9722d3b
commit d8edf8110a
3 changed files with 13 additions and 5 deletions

View File

@ -92,10 +92,12 @@ distribution:
(cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${SSL} \ (cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${SSL} \
${DESTDIR}/etc/ssl ) ${DESTDIR}/etc/ssl )
.endif .endif
.if !defined(NO_MAKEDEV) .if !defined(NO_MAKEDEV_INSTALL)
( cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ ( cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
MAKEDEV.local MAKEDEV ${DESTDIR}/dev ) MAKEDEV.local MAKEDEV ${DESTDIR}/dev )
.if !defined(NO_MAKEDEV_RUN)
(cd ${DESTDIR}/dev; sh MAKEDEV all) (cd ${DESTDIR}/dev; sh MAKEDEV all)
.endif
.endif .endif
(cd ${.CURDIR}/root; \ (cd ${.CURDIR}/root; \
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.cshrc \ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.cshrc \

View File

@ -128,8 +128,11 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
# be OK to use for any non-commercial use. This is optional. # be OK to use for any non-commercial use. This is optional.
#MAKE_IDEA= YES # IDEA (128 bit symmetric encryption) #MAKE_IDEA= YES # IDEA (128 bit symmetric encryption)
# #
# To avoid running MAKEDEV all on /dev during install: # To avoid running MAKEDEV all on /dev during install set NO_MAKEDEV_RUN.
#NO_MAKEDEV= true # If you don't want to install MAKEDEV set NO_MAKEDEV_INSTALL, this implies
# NO_MAKEDEV_RUN.
#NO_MAKEDEV_INSTALL= true
#NO_MAKEDEV_RUN= true
# #
# If you do not want unformatted manual pages to be compressed # If you do not want unformatted manual pages to be compressed
# when they are installed: # when they are installed:

View File

@ -128,8 +128,11 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
# be OK to use for any non-commercial use. This is optional. # be OK to use for any non-commercial use. This is optional.
#MAKE_IDEA= YES # IDEA (128 bit symmetric encryption) #MAKE_IDEA= YES # IDEA (128 bit symmetric encryption)
# #
# To avoid running MAKEDEV all on /dev during install: # To avoid running MAKEDEV all on /dev during install set NO_MAKEDEV_RUN.
#NO_MAKEDEV= true # If you don't want to install MAKEDEV set NO_MAKEDEV_INSTALL, this implies
# NO_MAKEDEV_RUN.
#NO_MAKEDEV_INSTALL= true
#NO_MAKEDEV_RUN= true
# #
# If you do not want unformatted manual pages to be compressed # If you do not want unformatted manual pages to be compressed
# when they are installed: # when they are installed: