summaryrefslogtreecommitdiff
path: root/popt/po
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-08-10 16:29:06 +0000
committerjbj <devnull@localhost>2000-08-10 16:29:06 +0000
commita54ccb6dc03f0b2e22576bc6b22eb08a6a8032f5 (patch)
tree3a35d109855460c2507427b05f9f52a44800b299 /popt/po
parent1068f1d715bd39b6e009d30bd32f7941084148f9 (diff)
downloadlibrpm-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.in13
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)/'; \