summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-10-30 19:17:59 +0000
committerUlrich Drepper <drepper@redhat.com>1998-10-30 19:17:59 +0000
commit646fffb9818a445a13e517561b61cfb8ee1d1664 (patch)
treeb4b5fde33a8b6c7380f6e0a389641033e90f8024
parenta3b2008a2daf521c322d42dae146eff5a0ae214f (diff)
downloadglibc-646fffb9818a445a13e517561b61cfb8ee1d1664.tar.gz
glibc-646fffb9818a445a13e517561b61cfb8ee1d1664.tar.xz
glibc-646fffb9818a445a13e517561b61cfb8ee1d1664.zip
Update.
	* catgets/Makefile (tests): Add rules to run gencat on test1.msg.
	(generate): Add test1.cat and test1.h.
	(distribute): Add test1.msg.
-rw-r--r--ChangeLog4
-rw-r--r--catgets/Makefile8
-rw-r--r--catgets/test1.msg5
3 files changed, 14 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index f777cbc3e3..5455bd20cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 1998-10-30  Ulrich Drepper  <drepper@cygnus.com>
 
+	* catgets/Makefile (tests): Add rules to run gencat on test1.msg.
+	(generate): Add test1.cat and test1.h.
+	(distribute): Add test1.msg.
+
 	* catgets/gencat.c: Do a better job in initializing dynamic
 	memory [PR libc/844].
 
diff --git a/catgets/Makefile b/catgets/Makefile
index f3f51eb6bf..e984ff724b 100644
--- a/catgets/Makefile
+++ b/catgets/Makefile
@@ -22,7 +22,7 @@
 subdir	:= catgets
 
 headers		= nl_types.h
-distribute	= catgetsinfo.h config.h xopen-msg.sed
+distribute	= catgetsinfo.h config.h xopen-msg.sed test1.msg
 routines	= catgets open_catalog
 others		= gencat
 install-bin	= gencat
@@ -41,12 +41,14 @@ $(objpfx)gencat: $(gencat-modules:%=$(objpfx)%.o)
 CPPFLAGS := -DNLSPATH='"$(localedir)/%L/%N:$(localedir)/%L/LC_MESSAGES/%N:$(localedir)/%l/%N:$(localedir)/%l/LC_MESSAGES/%N:"' \
 	    -DHAVE_CONFIG_H $(CPPFLAGS)
 
-generated = de.msg de.cat
+generated = de.msg de.cat test1.cat test1.h
 
 ifneq ($(cross-compiling),yes)
-tests: $(objpfx)de.cat
+tests: $(objpfx)de.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
+	$(built-program-cmd) -H $(objpfx)test1.h $@ $<
 $(objpfx)de.cat: $(objpfx)de.msg $(objpfx)gencat
 	$(built-program-cmd) $@ $<
 
diff --git a/catgets/test1.msg b/catgets/test1.msg
new file mode 100644
index 0000000000..a868c53dcf
--- /dev/null
+++ b/catgets/test1.msg
@@ -0,0 +1,5 @@
+$set 10
+$quote "
+$ Poznámka
+Welcome Vítejte v testovacím programu
+Author Autor: Vladimir Michl