Deleted Added
full compact
Makefile (139103) Makefile (139106)
1# $FreeBSD: head/release/Makefile 139103 2004-12-21 08:47:35Z ru $
1# $FreeBSD: head/release/Makefile 139106 2004-12-21 09:33:47Z 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

--- 344 unchanged lines hidden (view full) ---

354 # NB: clear any vestigial devfs mount, just in case
355 -umount ${CHROOTDIR}/dev > /dev/null 2>&1
356 -rm -rf ${CHROOTDIR} 2>/dev/null
357 -chflags -R noschg ${CHROOTDIR}/.
358 -rm -rf ${CHROOTDIR}
359.endif
360 mkdir -p ${CHROOTDIR}
361 @echo ">>> make release for ${TARGET} started on `LC_ALL=C TZ=GMT date`"
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

--- 344 unchanged lines hidden (view full) ---

354 # NB: clear any vestigial devfs mount, just in case
355 -umount ${CHROOTDIR}/dev > /dev/null 2>&1
356 -rm -rf ${CHROOTDIR} 2>/dev/null
357 -chflags -R noschg ${CHROOTDIR}/.
358 -rm -rf ${CHROOTDIR}
359.endif
360 mkdir -p ${CHROOTDIR}
361 @echo ">>> make release for ${TARGET} started on `LC_ALL=C TZ=GMT date`"
362 cd ${WORLDDIR} && ${NATIVEMAKE} -DNOGAMES -DNOHTML -DNOINFO -DNO_MAN \
363 -DNOPROFILE installworld DESTDIR=${CHROOTDIR}
362 cd ${WORLDDIR} && ${NATIVEMAKE} -DNOGAMES -DNOHTML -DNO_INFO -DNO_MAN \
363 -DNO_PROFILE installworld DESTDIR=${CHROOTDIR}
364 cd ${WORLDDIR}/etc && ${NATIVEMAKE} distribution DESTDIR=${CHROOTDIR}
365 if [ -f /etc/resolv.conf ]; then \
366 cp -p /etc/resolv.conf ${CHROOTDIR}/etc; \
367 fi
368.if defined(EXTLOCALDIR)
369 rm -rf ${CHROOTDIR}/usr/local
370 cd ${CHROOTDIR}/usr && cp -R -H ${EXTLOCALDIR} local
371.endif

--- 853 unchanged lines hidden ---
364 cd ${WORLDDIR}/etc && ${NATIVEMAKE} distribution DESTDIR=${CHROOTDIR}
365 if [ -f /etc/resolv.conf ]; then \
366 cp -p /etc/resolv.conf ${CHROOTDIR}/etc; \
367 fi
368.if defined(EXTLOCALDIR)
369 rm -rf ${CHROOTDIR}/usr/local
370 cd ${CHROOTDIR}/usr && cp -R -H ${EXTLOCALDIR} local
371.endif

--- 853 unchanged lines hidden ---