diff options
author | ewt <devnull@localhost> | 1998-03-04 16:53:54 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1998-03-04 16:53:54 +0000 |
commit | 179e9c159a23c4908a7b1bcdb70639f6d9008d35 (patch) | |
tree | 6e58533ce91e04a1fa58749014de98e2e717fc93 /po | |
parent | 0f2c5851dac43dce7f8174de5849dd7f542ce2b6 (diff) | |
download | librpm-tizen-179e9c159a23c4908a7b1bcdb70639f6d9008d35.tar.gz librpm-tizen-179e9c159a23c4908a7b1bcdb70639f6d9008d35.tar.bz2 librpm-tizen-179e9c159a23c4908a7b1bcdb70639f6d9008d35.zip |
1) added more portability checks
2) use new dependency scheume
3) use autoheader
CVS patchset: 2026
CVS date: 1998/03/04 16:53:54
Diffstat (limited to 'po')
-rw-r--r-- | po/Makefile.in | 19 |
1 files changed, 8 insertions, 11 deletions
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: |