diff options
author | obrien <obrien@FreeBSD.org> | 2003-03-16 22:59:00 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-03-16 22:59:00 +0000 |
commit | 4b49145ba5a3d718e8bfc99f49f8011d4eefb586 (patch) | |
tree | 355cd0da7286a63da153f2e2b5ceb1442e29837c /release | |
parent | e0730b13ea809de27aa094bf2db3f6731167d554 (diff) | |
download | FreeBSD-src-4b49145ba5a3d718e8bfc99f49f8011d4eefb586.zip FreeBSD-src-4b49145ba5a3d718e8bfc99f49f8011d4eefb586.tar.gz |
Make PREFETCHDISTFILES the default. Set NO_PREFETCHDISTFILES if you don't
like this. Also make it easier to issue the distfile fetching on command.
Diffstat (limited to 'release')
-rw-r--r-- | release/Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/release/Makefile b/release/Makefile index 07a6e4b..7139ccf 100644 --- a/release/Makefile +++ b/release/Makefile @@ -371,13 +371,8 @@ release rerelease: 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 \ - WITHOUT_X11=yes JADETEX=no WITHOUT_PYTHON=yes \ - checksum-recursive ; \ - done +.if !defined(NO_PREFETCHDISTFILES) + @cd ${.CURDIR} && ${MAKE} fetch-distfiles .endif .endif .endif @@ -482,6 +477,14 @@ release rerelease: clean: rm -rf boot_crunch release.[0-9] +fetch-distfiles: + @for i in ${DOCPORTS}; do \ + cd ${CHROOTDIR}/usr/ports/$$i && \ + make PORTSDIR=${CHROOTDIR}/usr/ports BATCH=yes \ + WITHOUT_X11=yes JADETEX=no WITHOUT_PYTHON=yes \ + checksum-recursive ; \ + done + # Clean out ${_R} and make the directory structure. release.1: mkdir -p ${_R} |