about summary refs log tree commit diff
path: root/localedata
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-08 04:46:10 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-08 04:46:10 +0000
commitf14854aab2b23d37c27c21975c5cb9f493f4ae82 (patch)
treee5c6d91baba29d96a949ac40de9af78b4532a0da /localedata
parent7c93d95dcf67ca7c53bd9bab9adeef60ea7b2503 (diff)
downloadglibc-f14854aab2b23d37c27c21975c5cb9f493f4ae82.tar.gz
glibc-f14854aab2b23d37c27c21975c5cb9f493f4ae82.tar.xz
glibc-f14854aab2b23d37c27c21975c5cb9f493f4ae82.zip
Update.
2000-01-06  Ulrich Drepper  <drepper@cygnus.com>

	* localedata/Makefile (install-locales): Create locale directory
	if it does not exist.

	* locale/programs/charmap.c (charmap_read): Call lr_open here and
	not in parse_charmap.  Try also the directories on the I18NPATH.
	(parse_charmap): Change accordingly.
Diffstat (limited to 'localedata')
-rw-r--r--localedata/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/localedata/Makefile b/localedata/Makefile
index 6433e374ea..f919a7ea4e 100644
--- a/localedata/Makefile
+++ b/localedata/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -90,6 +90,7 @@ endif
 # Sometimes the whole collection of locale files should be installed.
 LOCALEDEF=I18NPATH=. $(common-objpfx)elf/ld.so --library-path $(rpath-link) $(common-objpfx)locale/localedef
 install-locales:
+	$(..)./scripts/mkinstalldirs $(inst_localedir)
 	while read locale charset; do \
 	   case $$locale in \#*) continue;; esac; \
 	   $(LOCALEDEF) -i locales/`echo $$locale | sed 's/\([^.]*\).*/\1/'` \