|
Lines 142-147
Link Here
|
| 142 |
.if !defined(CHROOTDIR) || !defined(BUILDNAME) || !defined(CVSROOT) |
142 |
.if !defined(CHROOTDIR) || !defined(BUILDNAME) || !defined(CVSROOT) |
| 143 |
@echo "To make a release you must set CHROOTDIR, BUILDNAME and CVSROOT" && |
143 |
@echo "To make a release you must set CHROOTDIR, BUILDNAME and CVSROOT" && |
| 144 |
.endif |
144 |
.endif |
|
|
145 |
.if !defined(USA_RESIDENT) |
| 146 |
@echo "You must set USA_RESIDENT to YES or NO if you are resident in USA." |
| 147 |
.endif |
| 145 |
.if make(release) |
148 |
.if make(release) |
| 146 |
.if exists(${CHROOTDIR}) |
149 |
.if exists(${CHROOTDIR}) |
| 147 |
# The first command will fail on a handful of files that have their schg |
150 |
# The first command will fail on a handful of files that have their schg |
|
Lines 238-243
Link Here
|
| 238 |
.endif |
241 |
.endif |
| 239 |
# Don't remove this, or the build will fall over! |
242 |
# Don't remove this, or the build will fall over! |
| 240 |
echo "export RELEASEDIR=${_R}" >> ${CHROOTDIR}/mk |
243 |
echo "export RELEASEDIR=${_R}" >> ${CHROOTDIR}/mk |
|
|
244 |
# add USA_RESIDENT since openssl add to the source tree |
| 245 |
echo "export USA_RESIDENT=${USA_RESIDENT}" >> ${CHROOTDIR}/mk |
| 241 |
echo "export PATH=${BOOTSTRAPDIR}:$${PATH}:${LOCALDIR}" >> ${CHROOTDIR}/mk |
246 |
echo "export PATH=${BOOTSTRAPDIR}:$${PATH}:${LOCALDIR}" >> ${CHROOTDIR}/mk |
| 242 |
echo "if [ ! -f /tmp/.world_done ]; then" >> ${CHROOTDIR}/mk |
247 |
echo "if [ ! -f /tmp/.world_done ]; then" >> ${CHROOTDIR}/mk |
| 243 |
echo " cd /usr/src" >> ${CHROOTDIR}/mk |
248 |
echo " cd /usr/src" >> ${CHROOTDIR}/mk |