(install-locales): Allow specifying charset in locale name but omit it in
authordrepper <drepper>
Thu, 29 Apr 1999 15:00:34 +0000 (15:00 +0000)
committerdrepper <drepper>
Thu, 29 Apr 1999 15:00:34 +0000 (15:00 +0000)
locale definition file.

localedata/Makefile

index 6784982..5bb4702 100644 (file)
@@ -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