X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/912521ef0711204965aa2319d41c7741bd3f4f4c..0a426dc9da5ae37e870076a5b59c7d837d9d8a00:/po/Makefile diff --git a/po/Makefile b/po/Makefile index fa129de81..a415854a2 100644 --- a/po/Makefile +++ b/po/Makefile @@ -16,17 +16,17 @@ install: all ikiwiki.pot: $(POTFILES) @echo "Rebuilding the pot file" - xgettext $(POTFILES) -o ikiwiki.pot -Lperl + xgettext $(POTFILES) -o ikiwiki.pot -Lperl --add-comments=translators clean: - rm -f ikiwiki.pot $(MOFILES) messages messages.mo + rm -f $(MOFILES) messages messages.mo %.mo: %.po msgfmt -o $@ $< %.po: ikiwiki.pot @echo -n "Merging ikiwiki.pot and $@" - @msgmerge $@ ikiwiki.pot -o $@.new + @msgmerge $@ ikiwiki.pot -o $@.new 2>&1 # Typically all that changes was a date. I'd prefer not to commit such # changes, so detect and ignore them. @if [ "`diff $@ $@.new | grep '[<>]' | wc -l`" -ne 2 ]; then \ @@ -34,7 +34,7 @@ clean: else \ rm -f $@.new; \ fi - @msgfmt --statistics $@ + @msgfmt --statistics $@ 2>&1 check: @for file in $(POFILES); do \