Rules-quot | Rules-quot | |||
---|---|---|---|---|
skipping to change at line 23 | skipping to change at line 23 | |||
en@boldquot.po-update: en@boldquot.po-update-en | en@boldquot.po-update: en@boldquot.po-update-en | |||
.insert-header.po-update-en: | .insert-header.po-update-en: | |||
@lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \ | @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \ | |||
if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; GET TEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \ | if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; GET TEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \ | |||
tmpdir=`pwd`; \ | tmpdir=`pwd`; \ | |||
echo "$$lang:"; \ | echo "$$lang:"; \ | |||
ll=`echo $$lang | sed -e 's/@.*//'`; \ | ll=`echo $$lang | sed -e 's/@.*//'`; \ | |||
LC_ALL=C; export LC_ALL; \ | LC_ALL=C; export LC_ALL; \ | |||
cd $(srcdir); \ | cd $(srcdir); \ | |||
if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$ll -o - 2>/dev/n ull | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFIL TER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$l ang.new.po; then \ | if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev /null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGF ILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$ $lang.new.po; then \ | |||
if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ | if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ | |||
rm -f $$tmpdir/$$lang.new.po; \ | rm -f $$tmpdir/$$lang.new.po; \ | |||
else \ | else \ | |||
if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ | if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ | |||
:; \ | :; \ | |||
else \ | else \ | |||
echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lan g.new.po to $$lang.po" 1>&2; \ | echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lan g.new.po to $$lang.po" 1>&2; \ | |||
exit 1; \ | exit 1; \ | |||
fi; \ | fi; \ | |||
fi; \ | fi; \ | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |