summaryrefslogtreecommitdiffstats
path: root/release/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-09-23 14:33:47 +0000
committerru <ru@FreeBSD.org>2002-09-23 14:33:47 +0000
commit15867e80d13c71bcf3377e51980dd4a31019c671 (patch)
tree94cc52c13516867bb9379b68741a0c1e09f779c0 /release/Makefile
parente8398992222c45fef95332062c6d629f2a1a113e (diff)
downloadFreeBSD-src-15867e80d13c71bcf3377e51980dd4a31019c671.zip
FreeBSD-src-15867e80d13c71bcf3377e51980dd4a31019c671.tar.gz
ALLLANG is long dead, garbage collect it. Instead, make it possible
to use DOC_LANG to specify which languages the doc/ is built for. Note: be aware that the DOC_LANG setting in /etc/make.conf will now take the effect on "make release". (This is probably the desired behavior anyway.) PR: docs/42924
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/release/Makefile b/release/Makefile
index b89b75b..392e5e6 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -106,10 +106,11 @@ NOPORTSATALL= YES
.endif
.endif
-# Set ALLLANG=no if you want the documentation (e.g. Handbook, FAQ) to be
-# in English only. The language for the release notes is controlled
-# by the RELNOTES_LANG variable above.
-ALLLANG?= yes
+# By default, documentation (Handbook, FAQ, etc.) is built for all
+# the languages. To speed up building, set the DOC_LANG to just
+# the languages you need. (The language for the release notes is
+# controlled by the RELNOTES_LANG variable above.)
+#DOC_LANG= en_US.ISO8859-1
DOCPORTS= textproc/docproj
# Set this to wherever the distfiles required by release procedures.
.if defined(DOCDISTFILES)
@@ -350,7 +351,7 @@ rerelease release:
echo "_RELTARGET=\$${1:-doRELEASE}" >> ${CHROOTDIR}/mk
.for var in \
AUTO_KEYBOARD_DETECT BOOT_CONFIG BUILDNAME \
- CD_EXTRA_BITS DISTRIBUTIONS DOMINIMALDOCPORTS \
+ CD_EXTRA_BITS DISTRIBUTIONS DOC_LANG DOMINIMALDOCPORTS \
EXTRA_SRC FIXCRYPTO KERNELS KERNEL_FLAGS \
MAKE_ISOS NODOC NOKERBEROS NOPORTS NOSHARED \
NOSRC NO_SENDMAIL RELEASETAG \
@@ -359,11 +360,6 @@ rerelease release:
echo "export ${var}=\"${${var}}\"" >> ${CHROOTDIR}/mk
.endif
.endfor
-.if defined(ALLLANG) && ${ALLLANG} != "NO" && ${ALLLANG} != "no"
- echo "export ALLLANG=${ALLLANG}" >> ${CHROOTDIR}/mk
-.else
- echo "export DOC_LANG=en_US.ISO8859-1" >> ${CHROOTDIR}/mk
-.endif
# Don't remove this, or the build will fall over!
echo "export RELEASEDIR=${_R}" >> ${CHROOTDIR}/mk
echo "export PATH=/bin:/usr/bin:/sbin:/usr/sbin:${LOCALDIR}" >> ${CHROOTDIR}/mk
OpenPOWER on IntegriCloud