From 92610fbe38faa5a4c338c07412c9b14c4e747ef8 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 24 Mar 1998 12:21:06 +0000 Subject: Update. 1998-03-24 12:14 Ulrich Drepper * Makefile (distribute): Add SUPPORTED. (install-locales): New rule to install locale dat ausing localedef. * SUPPORTED: New file. Names all usable locales. Based on a patch by Cristian Gafton . * locales/gr_GR: Correct collation description. * locales/nl_NL: Correct Charset requirement. * locales/pt_BR: Fix int_curr_symbol. * locales/ru_RU: Fix ctype data. Patches by Cristian Gafton . * locales/nl_NL: Fix yesexpr/noexpr. * locales/pt_BR: Likewise. --- localedata/Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'localedata/Makefile') diff --git a/localedata/Makefile b/localedata/Makefile index d62a6a346c..0695931b70 100644 --- a/localedata/Makefile +++ b/localedata/Makefile @@ -43,7 +43,8 @@ ld-test-srcs := $(addprefix tests/,$(addsuffix .cm,$(ld-test-names)) \ distribute := CHECKSUMS tst-fmon.sh tst-fmon.data ChangeLog sort-test.sh \ README mnemonic.ds fr_CA,2.13.in de_DE.in da_DK.in \ - $(charmaps) $(locales) $(ld-test-srcs) tst-rpmatch.sh + $(charmaps) $(locales) $(ld-test-srcs) tst-rpmatch.sh \ + SUPPORTED # Get $(inst_i18ndir) defined. include ../Makeconfig @@ -66,3 +67,14 @@ tests: $(objpfx)collate-test $(objpfx)xfrm-test $(objpfx)tst-fmon \ $(SHELL) -e tst-locale.sh $(common-objpfx) $(SHELL) -e tst-rpmatch.sh $(common-objpfx) endif + +# Sometimes the whole collection of locale files should be installed. +ifneq ($(install_root),) +LOCALEDEF=chroot $(install_root) $(bindir)/localedef +else +LOCALEDEF=$(common-objpfx)locale/localedef +endif +install-locales: + (while read locale charset; do \ + $(LOCALEDEF) -c -i $$locale -f $$charset $$locale; \ + done) < SUPPORTED -- cgit v1.2.3