If we are making a "release", we can obviously use -DNOCLEAN buildworld,

to save some time, because ${CHROOTDIR}/usr/obj does not even exist.
This commit is contained in:
Ruslan Ermilov 2002-04-26 19:40:45 +00:00
parent 9bedf13fee
commit f3fb4a79be

View File

@ -398,12 +398,7 @@ rerelease release:
echo "export MANBUILDCAT=YES" >> ${CHROOTDIR}/mk
echo "if [ ! -f /tmp/.world_done ]; then" >> ${CHROOTDIR}/mk
echo " cd /usr/src" >> ${CHROOTDIR}/mk
.if make(release)
echo " make ${WORLD_FLAGS} buildworld && \\" >> ${CHROOTDIR}/mk
.endif
.if make(rerelease)
echo " make ${WORLD_FLAGS} -DNOCLEAN buildworld && \\" >> ${CHROOTDIR}/mk
.endif
echo " touch /tmp/.world_done" >> ${CHROOTDIR}/mk
echo "fi" >> ${CHROOTDIR}/mk
echo "cd /usr/src/release" >> ${CHROOTDIR}/mk