From 09879a99883050f450ad1cb8e27ce7f1146d5e82 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Tue, 22 Jul 2014 18:19:22 -0600 Subject: [PATCH] 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. --- cde/config/cf/site.def | 7 ++++++- cde/doc/Imakefile | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) 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) -- 2.25.1