diff options
author | joerg <joerg@FreeBSD.org> | 1997-03-15 19:51:16 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1997-03-15 19:51:16 +0000 |
commit | e57e7ec6e4e381b22c9e8430781a408b76dd0be4 (patch) | |
tree | 3b2578628713adaa9a8f89f20aad9cfab68880c0 /release | |
parent | 67415054809a31660ac47afe5950d182cae140e7 (diff) | |
download | FreeBSD-src-e57e7ec6e4e381b22c9e8430781a408b76dd0be4.zip FreeBSD-src-e57e7ec6e4e381b22c9e8430781a408b76dd0be4.tar.gz |
Properly export RELEASETAG and NO_PORTS (if set) into the chrooted
make process via /mk.
2.2 candidate but i'll defer this for an hour until my test buld
proved that it works. This should just fit Jordan's deadline. ;-)
Diffstat (limited to 'release')
-rw-r--r-- | release/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/release/Makefile b/release/Makefile index 2e2dffb..bd88854 100644 --- a/release/Makefile +++ b/release/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.285 1997/03/12 18:09:15 joerg Exp $ +# $Id: Makefile,v 1.286 1997/03/14 08:21:09 joerg Exp $ # # How to roll a release: # @@ -132,6 +132,10 @@ rerelease release: echo "set -ex" >> ${CHROOTDIR}/mk echo "CFLAGS='-O2 -pipe'" >> ${CHROOTDIR}/mk echo "export CFLAGS" >> ${CHROOTDIR}/mk + echo "export RELEASETAG=${RELEASETAG}" >> ${CHROOTDIR}/mk +.if defined(NO_PORTS) + echo "export NO_PORTS=${NO_PORTS}" >> ${CHROOTDIR}/mk +.endif # Don't remove this, or the build will fall over! echo "export RELEASEDIR=/R" >> ${CHROOTDIR}/mk echo "cd /usr/src" >> ${CHROOTDIR}/mk |