From: Jon Trulson Date: Wed, 23 Jul 2014 00:19:22 +0000 (-0600) Subject: site.def: create new DtDocLocalesToBuild define X-Git-Tag: 2.2.2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=09879a99883050f450ad1cb8e27ce7f1146d5e82;p=oweals%2Fcde.git site.def: create new DtDocLocalesToBuild define This would allow different locales to be specified for programs/localization (DtLocalesToBuild) and doc/ (DtDocLocalesToBuild). This would be useful for 'partial' translations like the Greek el_GR locale, where message catalogs, actions, or other items are localized, but documentation like the help system and dtinfo are not. --- diff --git a/cde/config/cf/site.def b/cde/config/cf/site.def index 14015924..135304a3 100644 --- a/cde/config/cf/site.def +++ b/cde/config/cf/site.def @@ -116,7 +116,7 @@ XCOMM or building non-C locales will cause build failures. #endif #if defined(LinuxArchitecture) -# define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1 en_US.UTF-8 +# define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1 en_US.UTF-8 # define UTF8_NLS_SUPPORT #endif @@ -143,4 +143,9 @@ XCOMM or building non-C locales will cause build failures. #endif #endif +XCOMM define DtDocLocalesToBuild to be the same as DtLocalesToBuild if undefined +#ifndef DtDocLocalesToBuild +# define DtDocLocalesToBuild DtLocalesToBuild +#endif + #endif /* AfterVendorCF */ diff --git a/cde/doc/Imakefile b/cde/doc/Imakefile index 3c4ff9ae..aeb928b3 100644 --- a/cde/doc/Imakefile +++ b/cde/doc/Imakefile @@ -2,7 +2,7 @@ XCOMM $TOG: Imakefile /main/12 1997/05/30 09:21:49 mgreess $ #define IHaveSubdirs #define PassCDebugFlags -SUBDIRS = util C DtLocalesToBuild +SUBDIRS = util C DtDocLocalesToBuild all:: $(RM) -r $(DTINFOGENTMPDIR)