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
#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 */
#define HasinfoUGuide
#define HassysAdminGuide
+#define BuildingDocs YES
#include "../../../programs/localized/templates/German.tmpl"
#include "../../common/guides/Imakefile.tmpl"
#define HasTerminal
#define HasTextedit
+#define BuildingDocs YES
#include "../../../programs/localized/templates/German.tmpl"
#include "../../common/help/Imakefile.tmpl"
#define HasinfoUGuide
#define HassysAdminGuide
+#define BuildingDocs YES
#include "../../../programs/localized/templates/Spanish.tmpl"
#include "../../common/guides/Imakefile.tmpl"
#define HasTerminal
#define HasTextedit
+#define BuildingDocs YES
#include "../../../programs/localized/templates/Spanish.tmpl"
#include "../../common/help/Imakefile.tmpl"
#define HasinfoUGuide
#define HassysAdminGuide
+#define BuildingDocs YES
#include "../../../programs/localized/templates/French.tmpl"
#include "../../common/guides/Imakefile.tmpl"
#define HasTerminal
#define HasTextedit
+#define BuildingDocs YES
#include "../../../programs/localized/templates/French.tmpl"
#include "../../common/help/Imakefile.tmpl"
#define HasinfoUGuide
#define HassysAdminGuide
+#define BuildingDocs YES
#include "../../../programs/localized/templates/Italian.tmpl"
#include "../../common/guides/Imakefile.tmpl"
#define HasTerminal
#define HasTextedit
+#define BuildingDocs YES
#include "../../../programs/localized/templates/Italian.tmpl"
#include "../../common/help/Imakefile.tmpl"
* variable for the French locale.
*/
-SOURCE_LANG=fr_FR.UTF-8
+#if BuildingDocs
-#ifdef AlphaArchitecture
-LANG=fr_FR.UTF-8
+XCOMM stick to ISO8859-1
+SOURCE_LANG=fr_FR.ISO8859-1
+
+#ifdef SunArchitecture
+LANG=fr
#endif
-#ifdef RsArchitecture
-SHELL=/bin/ksh
-LANG=fr_FR
+#if defined(LinuxArchitecture) || defined(BSDArchitecture)
+LANG=fr_FR.ISO8859-1
#endif
+#else
+
+XCOMM use UTF-8 for localization
+SOURCE_LANG=fr_FR.UTF-8
+
#ifdef SunArchitecture
LANG=fr
#endif
-#ifdef HPArchitecture
-LANG=fr_FR.utf8
-#endif
-
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
LANG=fr_FR.UTF-8
#endif
+
+#endif
* variable for the German locale.
*/
-SOURCE_LANG=de_DE.UTF-8
+#if BuildingDocs
-#ifdef AlphaArchitecture
-LANG=de_DE.UTF-8
+XCOMM stick to ISO8859-1
+SOURCE_LANG=de_DE.ISO8859-1
+
+#ifdef SunArchitecture
+LANG=de
#endif
-#ifdef RsArchitecture
-SHELL=/bin/ksh
-LANG=de_DE
+#if defined(LinuxArchitecture) || defined(BSDArchitecture)
+LANG=de_DE.ISO8859-1
#endif
+#else
+
+XCOMM use UTF-8 for localization
+SOURCE_LANG=de_DE.UTF-8
+
#ifdef SunArchitecture
LANG=de
#endif
-#ifdef HPArchitecture
-LANG=de_DE.utf8
-#endif
-
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
LANG=de_DE.UTF-8
#endif
+
+#endif
* variable for the Italian locale.
*/
-SOURCE_LANG=it_IT.UTF-8
+#if BuildingDocs
-#ifdef AlphaArchitecture
-LANG=it_IT.UTF-8
+XCOMM stick to ISO8859-1
+SOURCE_LANG=it_IT.ISO8859-1
+
+#ifdef SunArchitecture
+LANG=it
#endif
-#ifdef RsArchitecture
-SHELL=/bin/ksh
-LANG=it_IT
+#if defined(LinuxArchitecture) || defined(BSDArchitecture)
+LANG=it_IT.ISO8859-1
#endif
+#else
+
+XCOMM use UTF-8 for localization
+SOURCE_LANG=it_IT.UTF-8
+
#ifdef SunArchitecture
LANG=it
#endif
-#ifdef HPArchitecture
-LANG=it_IT.utf8
-#endif
-
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
LANG=it_IT.UTF-8
#endif
+
+
+#endif
* variable for the Spanish locale.
*/
-SOURCE_LANG=es_ES.UTF-8
+#if BuildingDocs
-#ifdef AlphaArchitecture
-LANG=es_ES.UTF-8
+XCOMM stick to ISO8859-1
+SOURCE_LANG=es_ES.ISO8859-1
+
+#ifdef SunArchitecture
+LANG=es
#endif
-#ifdef RsArchitecture
-SHELL=/bin/ksh
-LANG=es_ES
+#if defined(LinuxArchitecture) || defined(BSDArchitecture)
+LANG=es_ES.ISO8859-1
#endif
+#else
+
+SOURCE_LANG=es_ES.UTF-8
+
#ifdef SunArchitecture
LANG=es
#endif
-#ifdef HPArchitecture
-LANG=es_ES.utf8
-#endif
-
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
LANG=es_ES.UTF-8
#endif
+
+#endif
* variable for the Swedish locale.
*/
+#if BuildingDocs
+
+XCOMM stick to ISO8859-1
SOURCE_LANG=sv_SE.ISO8859-1
-#ifdef AlphaArchitecture
-LANG=sv_SE.ISO8859-1
+#ifdef SunArchitecture
+LANG=sv
#endif
-#ifdef RsArchitecture
-SHELL=/bin/ksh
-LANG=sv_SE
+#if defined(LinuxArchitecture) || defined(BSDArchitecture)
+LANG=sv_SE.ISO8859-1
#endif
+#else
+
+XCOMM use UTF-8 for localization
+SOURCE_LANG=sv_SE.UTF-8
+
#ifdef SunArchitecture
LANG=sv
#endif
-#ifdef HPArchitecture
-LANG=sv_SE.iso88591
+#if defined(LinuxArchitecture) || defined(BSDArchitecture)
+LANG=sv_SE.UTF-8
+#endif
+
#endif