Update of /cvsroot/po4a/po4a
In directory haydn:/tmp/cvs-serv7142
Modified Files:
Build.PL
Log Message:
Get the binary catalogs generation outside the po updating (usually po files
will be uptodate, but we want to generate the .mo files)
Index: Build.PL
===================================================================
RCS file: /cvsroot/po4a/po4a/Build.PL,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Build.PL 16 Jul 2004 23:11:54 -0000 1.4
+++ Build.PL 17 Jul 2004 07:36:00 -0000 1.5
@@ -71,13 +71,13 @@
} else {
rename "po/bin/$lang.po.new", "po/bin/$lang.po" || die;
}
- unless
($self->up_to_date("po/bin/$lang.po","blib/po/$lang/LC_MESSAGES/po4a.mo"))
{
- system("mkdir -p blib/po/$lang/LC_MESSAGES") && die;
- system("msgfmt -o blib/po/$lang/LC_MESSAGES/po4a.mo po/bin/$lang.po")
&& die;
- }
} else {
print "XX po/bin/$lang.po uptodate.\n";
}
+ unless
($self->up_to_date("po/bin/$lang.po","blib/po/$lang/LC_MESSAGES/po4a.mo"))
{
+ system("mkdir -p blib/po/$lang/LC_MESSAGES") && die;
+ system("msgfmt -o blib/po/$lang/LC_MESSAGES/po4a.mo po/bin/$lang.po")
&& die;
+ }
}
}