From 179e9c159a23c4908a7b1bcdb70639f6d9008d35 Mon Sep 17 00:00:00 2001 From: ewt Date: Wed, 4 Mar 1998 16:53:54 +0000 Subject: 1) added more portability checks 2) use new dependency scheume 3) use autoheader CVS patchset: 2026 CVS date: 1998/03/04 16:53:54 --- po/Makefile.in | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'po') diff --git a/po/Makefile.in b/po/Makefile.in index da1d6405b..2ddc1fed5 100644 --- a/po/Makefile.in +++ b/po/Makefile.in @@ -38,19 +38,16 @@ $(NLSPACKAGE).pot: $(POTFILES) update-po: Makefile - $(MAKE) $(NLSPACKAGE).pot - catalogs='$(CATALOGS)'; \ + @$(MAKE) $(NLSPACKAGE).pot + @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ lang=`echo $$cat | sed 's/.mo//'`; \ - mv $$lang.po $$lang.old.po; \ - echo "$$lang:"; \ - if $(MSGMERGE) $$lang.old.po $(NLSPACKAGE).pot -o $$lang.po; then \ - rm -f $$lang.old.po; \ - else \ - echo "msgmerge for $$cat failed!"; \ - rm -f $$lang.po; \ - mv $$lang.old.po $$lang.po; \ - fi; \ + if tupdate $(NLSPACKAGE).pot $$lang.po > $$lang.pot ; then \ + echo "tupdate of $$lang succeeded" ; \ + else \ + echo "tupdate of $$lang failed" ; \ + rm -f $$lang.pot ; \ + fi \ done clean: -- cgit v1.2.3