From 646fffb9818a445a13e517561b61cfb8ee1d1664 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 30 Oct 1998 19:17:59 +0000 Subject: Update. * catgets/Makefile (tests): Add rules to run gencat on test1.msg. (generate): Add test1.cat and test1.h. (distribute): Add test1.msg. --- catgets/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'catgets/Makefile') diff --git a/catgets/Makefile b/catgets/Makefile index f3f51eb..e984ff7 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) $@ $< -- cgit v1.1