summaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
authorMakoto Matsushita <matusita@FreeBSD.org>2002-02-03 07:00:37 +0000
committerMakoto Matsushita <matusita@FreeBSD.org>2002-02-03 07:00:37 +0000
commit40227c902b9a5dac6ebf35647d51b546e9fce56a (patch)
treeff0b364fa94c16b94b7410b49a646cde62a4e825 /release/Makefile
parent5c8d0a85b0e1327ff47d38aa037273f406c3c1fd (diff)
downloadsrc-test2-40227c902b9a5dac6ebf35647d51b546e9fce56a.tar.gz
src-test2-40227c902b9a5dac6ebf35647d51b546e9fce56a.zip
Notes
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/release/Makefile b/release/Makefile
index 0bea19dadd8c..15e97568985a 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -103,8 +103,13 @@ NOPORTSATALL= YES
# by the RELNOTES_LANG variable above.
ALLLANG?= yes
DOCPORTS= textproc/docproj
-# Set this to wherever the distfiles required by ${DOCPORTS} live.
-DOCDISTFILES?= ${.CURDIR}/../../ports/distfiles
+# Set this to wherever the distfiles required by release procedures.
+.if defined(DOCDISTFILES)
+# Respect DOCDISTFILES which is used before.
+RELEASEDISTFILES?= ${DOCDISTFILES}
+.else
+RELEASEDISTFILES?= ${.CURDIR}/../../ports/distfiles
+.endif
# Set this to 1 if you want -P to be used for automatic keyboard detection
# on the boot floppy. WARNING: Breaks on some Athlon (K7) motherboards.
AUTO_KEYBOARD_DETECT?= 0
@@ -298,8 +303,8 @@ rerelease release:
.else
cd ${CHROOTDIR}/usr && rm -rf doc && cvs -R -d ${CVSROOT} co -P ${RELEASEDOCMODULE}
.endif
- if [ -d ${DOCDISTFILES}/ ]; then \
- cp -rp ${DOCDISTFILES} ${CHROOTDIR}/usr/ports/distfiles; \
+ if [ -d ${RELEASEDISTFILES}/ ]; then \
+ cp -rp ${RELEASEDISTFILES} ${CHROOTDIR}/usr/ports/distfiles; \
fi
.endif
.endif