1# $FreeBSD: head/release/Makefile 156854 2006-03-18 21:37:05Z ru $ |
2# 3# make release [BUILDNAME=somename] CHROOTDIR=/some/dir CVSROOT=/cvs/dir \ 4# [RELEASETAG=tag] 5# 6# Where "/some/dir" is the pathname of a directory on a some filesystem with 7# at least 1000MB of free space, "somename" is what you want the release to 8# call itself, "/cvs/dir" is where our source repo resides and, optionally, 9# which CVS "tag" name should be used when checking out the sources to build --- 360 unchanged lines hidden (view full) --- 370 # NB: clear any vestigial devfs mount, just in case 371 -umount ${CHROOTDIR}/dev > /dev/null 2>&1 372 -rm -rf ${CHROOTDIR} 2>/dev/null 373 -chflags -R 0 ${CHROOTDIR}/. 374 -rm -rf ${CHROOTDIR} 375.endif 376 mkdir -p ${CHROOTDIR} 377 @echo ">>> make release for ${TARGET} started on `LC_ALL=C TZ=GMT date`" |
378 cd ${WORLDDIR} && ${NATIVEMAKE} -DWITHOUT_GAMES -DWITHOUT_HTML -DWITHOUT_LIB32 \ 379 -DWITHOUT_MAN -DWITHOUT_NLS -DWITHOUT_PROFILE installworld DESTDIR=${CHROOTDIR} |
380 cd ${WORLDDIR} && ${NATIVEMAKE} distribution DESTDIR=${CHROOTDIR} 381 if [ -f /etc/resolv.conf ]; then \ 382 cp -p /etc/resolv.conf ${CHROOTDIR}/etc; \ 383 fi 384.if defined(EXTLOCALDIR) 385 rm -rf ${CHROOTDIR}/usr/local 386 cd ${CHROOTDIR}/usr && cp -R -H ${EXTLOCALDIR} local 387.endif --- 947 unchanged lines hidden --- |