Add descriptive start/stop time information to make release. Now

you can just ``grep >>> release.log'' and get all the highlights.
This commit is contained in:
jkh 2000-07-17 04:50:28 +00:00
parent 96eac2843a
commit 15babb9dc4

View File

@ -188,6 +188,7 @@ rerelease release:
-rm -rf ${CHROOTDIR}
.endif
mkdir -p ${CHROOTDIR}
@echo ">>> make release started on `LC_TIME=C date`"
cd ${.CURDIR}/../etc && ${MAKE} distrib-dirs DESTDIR=${CHROOTDIR}
cd ${.CURDIR}/../etc && ${MAKE} distribution DESTDIR=${CHROOTDIR}
if [ -f /etc/resolv.conf ]; then \
@ -303,7 +304,7 @@ rerelease release:
echo "make obj" >> ${CHROOTDIR}/mk
echo "cd /usr/src/release" >> ${CHROOTDIR}/mk
echo "make \$${_RELTARGET}" >> ${CHROOTDIR}/mk
echo "echo make ${.TARGET} Finished" >> ${CHROOTDIR}/mk
echo "echo \" >>> make ${.TARGET} Finished on `LC_TIME=C date`\"" >> ${CHROOTDIR}/mk
chmod 755 ${CHROOTDIR}/mk
chroot ${CHROOTDIR} /mk