aboutsummaryrefslogtreecommitdiff
path: root/localedata/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/Makefile')
-rw-r--r--localedata/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/localedata/Makefile b/localedata/Makefile
index 231f3ac5dc..4108b7ed47 100644
--- a/localedata/Makefile
+++ b/localedata/Makefile
@@ -80,13 +80,11 @@ do-tst-rpmatch: tst-rpmatch.sh $(objpfx)tst-rpmatch do-tst-fmon
endif
# Sometimes the whole collection of locale files should be installed.
-ifneq ($(install_root),)
-LOCALEDEF=chroot $(install_root) $(bindir)/localedef
-else
LOCALEDEF=$(common-objpfx)elf/ld.so --library-path $(rpath-link) $(common-objpfx)locale/localedef
-endif
install-locales:
while read locale charset; do \
case $$locale in \#*) continue;; esac; \
- $(LOCALEDEF) -c -i $$locale -f $$charset $$locale; \
+ $(LOCALEDEF) -c -i locales/$$locale -f charmaps/$$charset \
+ -u repertoiremaps/mnemonic.ds \
+ $(inst_localedir)/$$locale; \
done < SUPPORTED