summary refs log tree commit diff
path: root/catgets/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-27 08:58:12 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-27 08:58:12 +0000
commitd2defdc4a2ba94cc0d0a2f8b8c851ddc07a32c22 (patch)
tree8eab98460af1320a592a50a41a16edc3b694c76d /catgets/Makefile
parentff8beceed165a7a411a63e4a78fd93f810bdcb14 (diff)
downloadglibc-d2defdc4a2ba94cc0d0a2f8b8c851ddc07a32c22.tar.gz
glibc-d2defdc4a2ba94cc0d0a2f8b8c851ddc07a32c22.tar.xz
glibc-d2defdc4a2ba94cc0d0a2f8b8c851ddc07a32c22.zip
Update.
2000-11-27  Ulrich Drepper  <drepper@redhat.com>

	* catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
	for gencat run.
	(libc.cat): Likewise.
	* catgets/gencat.c: Implement handling of message catalogs encoded
	with stateful character sets.
	Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
Diffstat (limited to 'catgets/Makefile')
-rw-r--r--catgets/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/catgets/Makefile b/catgets/Makefile
index bc6575c245..caf8eec651 100644
--- a/catgets/Makefile
+++ b/catgets/Makefile
@@ -53,10 +53,13 @@ tests: $(objpfx)de/libc.cat $(objpfx)test1.cat
 # This test just checks whether the program produces any error or not.
 # The result is not tested.
 $(objpfx)test1.cat: test1.msg $(objpfx)gencat
+	LC_ALL=hr_HR.ISO-8859-2 LOCPATH=$(common-objpfx)localedata \
+	GCONV_PATH=$(common-objpfx)iconvdata \
 	$(built-program-cmd) -H $(objpfx)test1.h $@ $<
 $(objpfx)de/libc.cat: $(objpfx)de.msg $(objpfx)gencat
 	$(make-target-directory)
-	$(built-program-cmd) $@ $<
+	LC_ALL=de_DE.ISO-8859-1 LOCPATH=$(common-objpfx)localedata \
+	GCONV_PATH=$(common-objpfx)iconvdata $(built-program-cmd) $@ $<
 $(objpfx)tst-catgets.out: $(objpfx)de/libc.cat
 
 # Generate a non-simple input file.