specify input encoding for xgettext

Pawel's utf-8 name needs this.
master
Joey Hess 2008-08-27 15:16:02 -04:00
parent ffa2913b45
commit 2bab1389cd
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ install: all
ikiwiki.pot: $(POTFILES)
@if perl -e '($$ver)=`xgettext -V | head -n 1`=~/.*\s+([0-9]+\.[0-9]+)/; die "gettext $$ver too old, not updating the pot file\n" if $$ver < 0.16'; then \
echo "Rebuilding the pot file"; \
xgettext $(POTFILES) -o ikiwiki.pot -Lperl --add-comments=translators; \
xgettext --from-code=UTF-8 $(POTFILES) -o ikiwiki.pot -Lperl --add-comments=translators; \
fi
clean: