Do not spam initial ${CHROOTDIR} world with Texinfo and HTML docs.

For rerelease, run "make -DNOCLEAN world" instead of simple and
insufficient in some cases "make all install".  This is especially
true for cross-arch "make release"s which we don't (yet) support.
This commit is contained in:
Ruslan Ermilov 2002-04-23 09:24:00 +00:00
parent b25a566d47
commit dcd88dc271
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95307

View File

@ -268,7 +268,8 @@ rerelease release:
if [ -f /etc/resolv.conf ]; then \
cp -p /etc/resolv.conf ${CHROOTDIR}/etc; \
fi
cd ${.CURDIR}/.. && ${MAKE} installworld DESTDIR=${CHROOTDIR} NOMAN=1
cd ${.CURDIR}/.. && ${MAKE} -DNOHTML -DNOINFO -DNOMAN installworld \
DESTDIR=${CHROOTDIR}
mkdir ${CHROOTDIR}/${BOOTSTRAPDIR}
for i in ${BOOTSTRAPUTILS} ; do \
cp -p ${CHROOTDIR}$$i ${CHROOTDIR}/${BOOTSTRAPDIR} ; \
@ -394,7 +395,7 @@ rerelease release:
echo " make ${WORLD_FLAGS} world && \\" >> ${CHROOTDIR}/mk
.endif
.if make(rerelease)
echo " make ${WORLD_FLAGS} all install && \\" >> ${CHROOTDIR}/mk
echo " make ${WORLD_FLAGS} -DNOCLEAN world && \\" >> ${CHROOTDIR}/mk
.endif
echo " touch /tmp/.world_done" >> ${CHROOTDIR}/mk
echo "fi" >> ${CHROOTDIR}/mk