Skip to content

Commit

Permalink
Fold long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 9, 2014
1 parent 89dec7d commit 069656a
Showing 1 changed file with 23 additions and 13 deletions.
36 changes: 23 additions & 13 deletions build/makefiles/gettext.am
Expand Up @@ -46,22 +46,32 @@ gettext:
$(top_srcdir)/doc/source/conf.py

init: gettext
for pot in *.pot; do \
edit_po=`basename $${pot} | sed -e 's,pot$$,edit,g'`; \
test "$(FORCE_INIT)" = "yes" -o ! -f $${edit_po} && \
msginit --input=$${pot} --output-file=$${edit_po} --locale=$(LOCALE); \
:; \
for pot in *.pot; do \
edit_po=`basename $${pot} | sed -e 's,pot$$,edit,g'`; \
test "$(FORCE_INIT)" = "yes" -o ! -f $${edit_po} && \
msginit \
--input=$${pot} \
--output-file=$${edit_po} \
--locale=$(LOCALE); \
:; \
done

edit:
for pot in *.pot; do \
edit_po=`basename $${pot} | sed -e 's,pot$$,edit,g'`; \
po=`basename $${pot} | sed -e 's,pot$$,po,g'`; \
test ! -f $${edit_po} && test -f $${po} && \
msgmerge --quiet --sort-by-file --output-file=$${edit_po} $${po} $${pot}; \
test ! -f $${edit_po} && test ! -f $${po} && \
msginit --input=$${pot} --output-file=$${edit_po} --locale=$(LOCALE); \
:; \
for pot in *.pot; do \
edit_po=`basename $${pot} | sed -e 's,pot$$,edit,g'`; \
po=`basename $${pot} | sed -e 's,pot$$,po,g'`; \
test ! -f $${edit_po} && test -f $${po} && \
msgmerge \
--quiet \
--sort-by-file \
--output-file=$${edit_po} \
$${po} $${pot}; \
test ! -f $${edit_po} && test ! -f $${po} && \
msginit \
--input=$${pot} \
--output-file=$${edit_po} \
--locale=$(LOCALE); \
:; \
done

reinit:
Expand Down

0 comments on commit 069656a

Please sign in to comment.