From dcd88dc27134f608d262dfb6e87680ecba23b05f Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 23 Apr 2002 09:24:00 +0000 Subject: [PATCH] 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. --- release/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/release/Makefile b/release/Makefile index 4c1de973564..791404c0035 100644 --- a/release/Makefile +++ b/release/Makefile @@ -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