]> sipb.mit.edu Git - ikiwiki.git/commitdiff
specify input encoding for xgettext
authorJoey Hess <joey@kodama.kitenet.net>
Wed, 27 Aug 2008 19:16:02 +0000 (15:16 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 27 Aug 2008 19:16:02 +0000 (15:16 -0400)
Pawel's utf-8 name needs this.

po/Makefile

index 084d011f07111bf446ffbb1683fab6c509cdf656..ae090ec086eaa56db5d5eab48e6e1f2434dc2c2c 100644 (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: