]> sipb.mit.edu Git - ikiwiki.git/blobdiff - po/Makefile
* Add a Bulgarian translation by Damyan Ivanov. Closes: #406580
[ikiwiki.git] / po / Makefile
index fa129de81b6bb72735ca87cca8e56d23cec6af7e..a415854a2afabf1c1eefe5eca6e3ec6169c82a49 100644 (file)
@@ -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 \