1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

linux/site.def: use an if !defined() gaurd for DtLocalesToBuild

Without this, you cannot use the command line to select the languages
to build, you would have to edit site.def directly.

With this fix, you can build a language on linux with something like:

make World IMAKE_DEFINES='-DDtLocalesToBuild="de_DE.ISO8859-1 es_ES.ISO8859-1"'

to build the DE (German) and es (Spanish) locales.
This commit is contained in:
Jon Trulson 2018-06-24 12:48:14 -06:00
parent 8c1ad2d3a8
commit aaa9305653

View file

@ -126,7 +126,9 @@ XCOMM or building non-C locales will cause build failures.
XCOMM Make sure you have installed the de_DE, es_ES, fr_FR and it_IT locales. 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 or building non-C locales will cause build failures.
XCOMM DtLocalesToBuild: de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1 en_US.UTF-8 XCOMM DtLocalesToBuild: de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1 en_US.UTF-8
# define DtLocalesToBuild en_US.UTF-8 # if !defined(DtLocalesToBuild)
# define DtLocalesToBuild en_US.UTF-8
# endif
# define UTF8_NLS_SUPPORT # define UTF8_NLS_SUPPORT
#endif #endif