Add refresh-po.

CVS patchset: 4051
CVS date: 2000/08/10 16:29:06
This commit is contained in:
jbj 2000-08-10 16:29:06 +00:00
parent 1068f1d715
commit a54ccb6dc0
1 changed files with 13 additions and 0 deletions

View File

@ -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)/'; \