-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:
Brian Feldman 2000-07-27 03:50:25 +00:00
parent 3c89e357f0
commit f623957fef
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: