[Po4a-commits] r2346 - in /trunk: Po4aBuilder.pm share/po4a-build
barbier-guest at users.alioth.debian.org
barbier-guest at users.alioth.debian.org
Sun Nov 21 11:30:37 UTC 2010
Author: barbier-guest
Date: Sun Nov 21 11:30:36 2010
New Revision: 2346
URL: http://svn.debian.org/wsvn/po4a/?sc=1&rev=2346
Log:
Use current PO files when running internal po4a
Modified:
trunk/Po4aBuilder.pm
trunk/share/po4a-build
Modified: trunk/Po4aBuilder.pm
URL: http://svn.debian.org/wsvn/po4a/trunk/Po4aBuilder.pm?rev=2346&op=diff
==============================================================================
--- trunk/Po4aBuilder.pm (original)
+++ trunk/Po4aBuilder.pm Sun Nov 21 11:30:36 2010
@@ -27,6 +27,7 @@
sub ACTION_po4a_build {
my $self = shift;
+ $self->depends_on('binpo');
$self->make_files_writable("po/pod");
system("./share/po4a-build -f po4a-build.conf") && die;
File::Path::mkpath( File::Spec->catdir( 'blib', 'manl10n' ), 0, oct(777) );
Modified: trunk/share/po4a-build
URL: http://svn.debian.org/wsvn/po4a/trunk/share/po4a-build?rev=2346&op=diff
==============================================================================
--- trunk/share/po4a-build (original)
+++ trunk/share/po4a-build Sun Nov 21 11:30:36 2010
@@ -137,6 +137,10 @@
OURS=`pwd|tr -d '\n'`
cd `dirname $FILE`
+if [ "$USE_INTERNAL_PO4A" = "yes" ]; then
+ TEXTDOMAINDIR=$OURS/blib/po
+fi
+
# calculate the langs, automatically.
LANGS=`ls $PODIR/*.po 2>/dev/null || true`
if [ ! -z "$LANGS" ]; then
More information about the Po4a-commits
mailing list