diff options
author | jbj <devnull@localhost> | 2000-08-10 16:29:06 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-08-10 16:29:06 +0000 |
commit | a54ccb6dc03f0b2e22576bc6b22eb08a6a8032f5 (patch) | |
tree | 3a35d109855460c2507427b05f9f52a44800b299 /popt/po | |
parent | 1068f1d715bd39b6e009d30bd32f7941084148f9 (diff) | |
download | librpm-tizen-a54ccb6dc03f0b2e22576bc6b22eb08a6a8032f5.tar.gz librpm-tizen-a54ccb6dc03f0b2e22576bc6b22eb08a6a8032f5.tar.bz2 librpm-tizen-a54ccb6dc03f0b2e22576bc6b22eb08a6a8032f5.zip |
Add refresh-po.
CVS patchset: 4051
CVS date: 2000/08/10 16:29:06
Diffstat (limited to 'popt/po')
-rw-r--r-- | popt/po/Makefile.in.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/popt/po/Makefile.in.in b/popt/po/Makefile.in.in index ea01d49fa..e4ea0fdfd 100644 --- a/popt/po/Makefile.in.in +++ b/popt/po/Makefile.in.in @@ -224,6 +224,19 @@ update-po: Makefile fi; \ done +refresh-po: Makefile + catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + lang=`echo $$cat | sed 's/.mo//'`; \ + if $(MSGMERGE) $$lang.po $(NLSPACKAGE).pot > $$lang.pot ; then \ + echo "$(MSGMERGE) of $$lang succeeded" ; \ + mv -f $$lang.pot $$lang.po ; \ + else \ + echo "$(MSGMERGE) of $$lang failed" ; \ + rm -f $$lang.pot ; \ + fi \ + done + POTFILES: POTFILES.in ( if test 'x$(srcdir)' != 'x.'; then \ posrcprefix='$(top_srcdir)/'; \ |