about summary refs log tree commit diff
path: root/localedata
diff options
context:
space:
mode:
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 fa6ed6855c..51b10428b9 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 2f63004119..8bdbedfb90 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