Add refresh-po.
CVS patchset: 4051 CVS date: 2000/08/10 16:29:06
This commit is contained in:
parent
1068f1d715
commit
a54ccb6dc0
|
@ -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)/'; \
|
||||
|
|
Loading…
Reference in New Issue