aboutsummaryrefslogtreecommitdiff
path: root/localedata
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-13 07:01:35 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-13 07:01:35 +0000
commit8a82cc302401f7beea53f0395bbba2030ffe587a (patch)
tree7b6793d9f3bfa0ca5dac4fbd62eff6ffc3373ee6 /localedata
parent8868f97b04da96174316ca6f46d1c3354c19e3e8 (diff)
downloadglibc-8a82cc302401f7beea53f0395bbba2030ffe587a.zip
glibc-8a82cc302401f7beea53f0395bbba2030ffe587a.tar.gz
glibc-8a82cc302401f7beea53f0395bbba2030ffe587a.tar.bz2
Update.
* locale/programs/localedef.c: Implement --prefix option to allow writing in standard places of alternative install directories.
Diffstat (limited to 'localedata')
-rw-r--r--localedata/ChangeLog5
-rw-r--r--localedata/Makefile2
2 files changed, 6 insertions, 1 deletions
diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index fa6ed68..51b1042 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-13 Ulrich Drepper <drepper@redhat.com>
+
+ * Makefile (install-locales): Use --prefix option of localedef to
+ avoid providing complete path for output file.
+
2000-08-03 Ulrich Drepper <drepper@redhat.com>
* locales/zh_TW: Updated.
diff --git a/localedata/Makefile b/localedata/Makefile
index 2f63004..8bdbedf 100644
--- a/localedata/Makefile
+++ b/localedata/Makefile
@@ -188,7 +188,7 @@ install-locales:
case $$locale in \#*) continue;; esac; \
$(LOCALEDEF) -i locales/`echo $$locale | sed 's/\([^.]*\).*/\1/'` \
-c -f charmaps/$$charset \
- $(inst_localedir)/$$locale; \
+ $(addprefix --prefix=,$(install_root)) $$locale; \
done < SUPPORTED
# The mbwc-tests need some environment setup to find the locale data files