-mkdir the ${DESTDIR}/modules directory upon modules-install in case it

doesn't exist.  This could bite you by allowing you merrily install your
modules one on top of the other as the regular file ${DESTDIR}/modules
and think it completed properly...
This commit is contained in:
green 2000-07-27 03:50:25 +00:00
parent 259b9bfa7c
commit 996bc21683
4 changed files with 4 additions and 0 deletions

View File

@ -308,6 +308,7 @@ modules-install modules-install.debug:
cp -p ${DESTDIR}/modules/* ${DESTDIR}/modules.old ; \
fi;
.endif
-mkdir ${DESTDIR}/modules
cd $S/modules && env MAKEOBJDIRPREFIX=${.OBJDIR}/modules ${MAKE} install
modules-reinstall modules-reinstall.debug:

View File

@ -267,6 +267,7 @@ modules-install modules-install.debug:
cp -p ${DESTDIR}/modules/* ${DESTDIR}/modules.old; \
fi;
.endif
-mkdir ${DESTDIR}/modules
cd $S/modules && env MAKEOBJDIRPREFIX=${.OBJDIR}/modules ${MAKE} install
modules-reinstall modules-reinstall.debug:

View File

@ -270,6 +270,7 @@ modules-install modules-install.debug:
cp -p ${DESTDIR}/modules/* ${DESTDIR}/modules.old; \
fi;
.endif
-mkdir ${DESTDIR}/modules
cd $S/modules && env MAKEOBJDIRPREFIX=${.OBJDIR}/modules ${MAKE} install
modules-reinstall modules-reinstall.debug:

View File

@ -267,6 +267,7 @@ modules-install modules-install.debug:
cp -p ${DESTDIR}/modules/* ${DESTDIR}/modules.old; \
fi;
.endif
-mkdir ${DESTDIR}/modules
cd $S/modules && env MAKEOBJDIRPREFIX=${.OBJDIR}/modules ${MAKE} install
modules-reinstall modules-reinstall.debug: