Merged from sys/conf/Makefile.i386 revisions 1.192 and 1.193.

This commit is contained in:
KATO Takenori 2000-06-16 16:36:50 +00:00
parent 7c50d77218
commit 339d78c806
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61731

View File

@ -265,8 +265,10 @@ modules-tags:
modules-install modules-install.debug:
.if !defined(NO_MODULES_OLD)
mkdir -p ${DESTDIR}/modules.old
cp -p ${DESTDIR}/modules/* ${DESTDIR}/modules.old
if [ -d ${DESTDIR}/modules -a -n "`ls ${DESTDIR}/modules`" ]; then \
mkdir -p ${DESTDIR}/modules.old; \
cp -p ${DESTDIR}/modules/* ${DESTDIR}/modules.old; \
fi;
.endif
cd $S/modules && env MAKEOBJDIRPREFIX=${.OBJDIR}/modules ${MAKE} install