diff options
author | green <green@FreeBSD.org> | 2000-07-27 03:50:25 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2000-07-27 03:50:25 +0000 |
commit | a92ef5a71e83e0bc48229a3b7f412d3ee6dde3ab (patch) | |
tree | 3e595e8adf1d4157d2e27a22da011b5bffe617f2 /sys | |
parent | 340f6596474a65328d279d2f5f10a4ef6b5d25e4 (diff) | |
download | FreeBSD-src-a92ef5a71e83e0bc48229a3b7f412d3ee6dde3ab.zip FreeBSD-src-a92ef5a71e83e0bc48229a3b7f412d3ee6dde3ab.tar.gz |
-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...
Diffstat (limited to 'sys')
-rw-r--r-- | sys/conf/Makefile.alpha | 1 | ||||
-rw-r--r-- | sys/conf/Makefile.i386 | 1 | ||||
-rw-r--r-- | sys/conf/Makefile.pc98 | 1 | ||||
-rw-r--r-- | sys/conf/Makefile.powerpc | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/sys/conf/Makefile.alpha b/sys/conf/Makefile.alpha index e272ca5..7a7f421 100644 --- a/sys/conf/Makefile.alpha +++ b/sys/conf/Makefile.alpha @@ -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: diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index e081530..5bc7d4b 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -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: diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98 index bd6a399..f263d25 100644 --- a/sys/conf/Makefile.pc98 +++ b/sys/conf/Makefile.pc98 @@ -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: diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index e081530..5bc7d4b 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -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: |