diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-03-24 12:21:06 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-03-24 12:21:06 +0000 |
commit | 92610fbe38faa5a4c338c07412c9b14c4e747ef8 (patch) | |
tree | d981ecbf35c031da0ea31491e81dcff0808870e5 /localedata/Makefile | |
parent | 82cda1d71d2de5ca04f3725e5af230ceefacf22a (diff) | |
download | glibc-92610fbe38faa5a4c338c07412c9b14c4e747ef8.tar.gz glibc-92610fbe38faa5a4c338c07412c9b14c4e747ef8.tar.xz glibc-92610fbe38faa5a4c338c07412c9b14c4e747ef8.zip |
Update.
1998-03-24 12:14 Ulrich Drepper <drepper@cygnus.com> * 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 <gafton@redhat.com>. * 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 <gafton@redhat.com>. * locales/nl_NL: Fix yesexpr/noexpr. * locales/pt_BR: Likewise.
Diffstat (limited to 'localedata/Makefile')
-rw-r--r-- | localedata/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
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 |