utf8 conversion: fix up seperation of locale and doc building
Docs (help and the dtinfo guides) are now always built using the ISO8859-1 locale. To support UTF-8, our docbook needs to be updated to something from this century, ideally this decade. In addition, a conversion to XML would also be required as a result. So, until that happens, use ISO8859-1 for docs. However, other locale information, like message catalogs, resource files, and the like are now converted to UTF-8. All supported languages are now built by default on linux again.
This commit is contained in:
@@ -127,8 +127,10 @@ XCOMM Make sure you have installed the de_DE, es_ES, fr_FR and it_IT locales.
|
||||
XCOMM or building non-C locales will cause build failures.
|
||||
XCOMM DtLocalesToBuild: de_DE.UTF-8 es_ES.UTF-8 fr_FR.UTF-8 it_IT.UTF-8 en_US.UTF-8
|
||||
# if !defined(DtLocalesToBuild)
|
||||
# define DtLocalesToBuild en_US.UTF-8
|
||||
# define DtLocalesToBuild en_US.UTF-8 de_DE.UTF-8 es_ES.UTF-8 fr_FR.UTF-8 it_IT.UTF-8
|
||||
# endif
|
||||
XCOMM This is a hack for the en_US.UTF-8 stuff, which should be redone
|
||||
XCOMM as a proper locale, rather than aliasing C
|
||||
# define UTF8_NLS_SUPPORT
|
||||
#endif
|
||||
|
||||
@@ -155,9 +157,11 @@ XCOMM DtLocalesToBuild: de_DE.UTF-8 es_ES.UTF-8 fr_FR.UTF-8 it_IT.UTF-8 en_US.UT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
XCOMM define DtDocLocalesToBuild to be the same as DtLocalesToBuild if undefined
|
||||
XCOMM The documentation can only be built with ISO8859-1 encoding.
|
||||
XCOMM An upgrade to docbook and conversion to XML is required to properly
|
||||
XCOMM support utf8 with dtinfo and dthelp files.
|
||||
#ifndef DtDocLocalesToBuild
|
||||
# define DtDocLocalesToBuild DtLocalesToBuild
|
||||
# define DtDocLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
|
||||
#endif
|
||||
|
||||
#endif /* AfterVendorCF */
|
||||
|
||||
Reference in New Issue
Block a user