Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 2002 15:14:14 +0400
From:      Alexander Zagrebin <alexz@visp.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/42924: During 'make release' is impossible to build docs for selected languages
Message-ID:  <E17rcmc-0006qy-00@srv1.visp.ru>

next in thread | raw e-mail | index | archive | help

>Number:         42924
>Category:       docs
>Synopsis:       During 'make release' is impossible to build docs for selected languages
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 18 04:20:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Zagrebin
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
JSC Navigator
>Environment:
System: FreeBSD srv1.visp.ru 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Sun Jun 23 00:38:35 MSD 2002 alex@srv1.visp.ru:/usr/src/sys/compile/KERNEL i386
>Description:
	Earlier was possible to use DOC_LANG variable to build docs
	during 'make release' for selected languages only.
	For example,
	# export DOC_LANG="en_US.ISO8859-1 ru_RU.KOI8-R"
	# make release
	And I received the docs only in English and Russian languages
	At now (4.7-PRERELEASE, 4.7-RC) is possible to build docs either
	in all languages or in english only due to ALLLANG variable.
>How-To-Repeat:
	To set DOC_LANG and do 'make release'
>Fix:
	May be this patch solves the problem (untested)
	--- Makefile.orig       Tue Aug 13 21:02:58 2002
	+++ Makefile    Wed Sep 18 15:10:27 2002
	@@ -379,7 +379,11 @@
	.if defined(ALLLANG) && ${ALLLANG} != "NO" && ${ALLLANG} != "no"
		echo "export ALLLANG=${ALLLANG}"        >> ${CHROOTDIR}/mk
	.else
	 -       echo "export DOC_LANG=en_US.ISO8859-1"  >> ${CHROOTDIR}/mk
	 +.if defined(DOC_LANG)
	 +       echo "export DOC_LANG=${DOC_LANG}"      >> ${CHROOTDIR}/mk
	 +.else
	 +       echo "export DOC_LANG=en_US.ISO8859-1"  >> ${CHROOTDIR}/mk
	 +.endif
	 .endif
	 .if defined(AUTO_KEYBOARD_DETECT)
		echo "export AUTO_KEYBOARD_DETECT=\"${AUTO_KEYBOARD_DETECT}\""  >> ${CHROOTDIR}/mk
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E17rcmc-0006qy-00>