| Summary: | During 'make release' is impossible to build docs for selected languages | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | Alexander Zagrebin <alexz> |
| Component: | Books & Articles | Assignee: | ru <ru> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->patched A fix was committed to 5.0-CURRENT. Responsible Changed From-To: freebsd-doc->ru State Changed From-To: patched->closed Merged into 4.7-STABLE. |
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. 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 How-To-Repeat: To set DOC_LANG and do 'make release'