summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-07-27 19:43:52 +0000
committerjhb <jhb@FreeBSD.org>2002-07-27 19:43:52 +0000
commit925a30622248e65ebb2f024b5f8e005116fef071 (patch)
tree85794d7030528182813b7fe3ebe0340c1e40bd9f /release
parent6869b56d0e58b777174ea19b866b5ee458035333 (diff)
downloadFreeBSD-src-925a30622248e65ebb2f024b5f8e005116fef071.zip
FreeBSD-src-925a30622248e65ebb2f024b5f8e005116fef071.tar.gz
If we are building docs with this release and PREFETCHDISTFILES is defined
then download the distfiles for the ports needed to build the docs before we enter the chroot environment. This is useful since often times releases get in a funk trying to download distfiles in the chroot. Approved by: re (murray, bmah) MFC after: 5 days
Diffstat (limited to 'release')
-rw-r--r--release/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/release/Makefile b/release/Makefile
index 8aba3e1..f01098e 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -309,6 +309,13 @@ rerelease release:
else \
mkdir -p ${CHROOTDIR}/usr/ports/distfiles; \
fi
+.if defined(PREFETCHDISTFILES)
+ @for i in ${DOCPORTS}; do \
+ cd ${CHROOTDIR}/usr/ports/$$i && \
+ make PORTSDIR=${CHROOTDIR}/usr/ports BATCH=yes \
+ JADETEX=no WITHOUT_PYTHON=yes fetch-recursive ; \
+ done
+.endif
.endif
.endif
.if make(rerelease)
OpenPOWER on IntegriCloud