aboutsummaryrefslogtreecommitdiff
path: root/localedata/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-04-29 15:04:27 +0000
committerUlrich Drepper <drepper@redhat.com>1999-04-29 15:04:27 +0000
commit554b88001829abe401ccc81ca9ab41dcac5e74eb (patch)
tree3918655692668584ceb776ad170cac8549fce05d /localedata/Makefile
parent49cee6968b08aa52af2fb1be127f0a8046371c2c (diff)
downloadglibc-554b88001829abe401ccc81ca9ab41dcac5e74eb.tar
glibc-554b88001829abe401ccc81ca9ab41dcac5e74eb.tar.gz
glibc-554b88001829abe401ccc81ca9ab41dcac5e74eb.tar.bz2
glibc-554b88001829abe401ccc81ca9ab41dcac5e74eb.zip
Update.
* Makefile (install-locales): Allow specifying charset in locale name but omit it in locale definition file.
Diffstat (limited to 'localedata/Makefile')
-rw-r--r--localedata/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/localedata/Makefile b/localedata/Makefile
index 6784982ecf..5bb4702beb 100644
--- a/localedata/Makefile
+++ b/localedata/Makefile
@@ -89,7 +89,8 @@ LOCALEDEF=$(common-objpfx)elf/ld.so --library-path $(rpath-link) $(common-objpfx
install-locales:
while read locale charset; do \
case $$locale in \#*) continue;; esac; \
- $(LOCALEDEF) -c -i locales/$$locale -f charmaps/$$charset \
+ $(LOCALEDEF) -i locales/`echo $$locale | sed 's/\([^.]*\).*/\1/'` \
+ -c -f charmaps/$$charset \
-u repertoiremaps/mnemonic.ds \
$(inst_localedir)/$$locale; \
done < SUPPORTED