[Po4a-commits] po4a Build.PL,1.14,1.15
Jordi Vilalta
po4a-devel@lists.alioth.debian.org
Thu, 23 Dec 2004 13:37:19 +0000
Update of /cvsroot/po4a/po4a
In directory haydn:/tmp/cvs-serv20815
Modified Files:
Build.PL
Log Message:
Support for non-ascii characters in TeX.pm when extracting messages.
Index: Build.PL
===================================================================
RCS file: /cvsroot/po4a/po4a/Build.PL,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- Build.PL 28 Nov 2004 21:35:52 -0000 1.14
+++ Build.PL 23 Dec 2004 13:37:17 -0000 1.15
@@ -32,7 +32,7 @@
unless ($self->up_to_date(\@files, "po/bin/po4a.pot")) {
print "XX Update po/bin/po4a.pot\n";
my $podfiles = join ("", map {" ../../".$_ } @files);
- system("cd po/bin; xgettext -L Perl $podfiles -o po4a.pot.new") && die;
+ system("cd po/bin; xgettext --from-code=iso-8859-1 -L Perl $podfiles -o po4a.pot.new") && die;
if ( -e "po/bin/po4a.pot") {
$diff = qx(diff -q -I'#:' -I'POT-Creation-Date:' -I'PO-Revision-Date:' po/bin/po4a.pot po/bin/po4a.pot.new);
if ( $diff eq "" ) {