cvs: peardoc / configure.in

From: Date: Sat, 10 Dec 2005 16:01:41 +0000
Subject: cvs: peardoc / configure.in
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7287@lists.php.net to get a copy of this message
techtonik Sat Dec 10 11:01:41 2005 EDT Modified files: /peardoc configure.in Log: * speed up configure process for translations http://cvs.php.net/diff.php/peardoc/configure.in?r1=1.20&r2=1.21&ty=u Index: peardoc/configure.in diff -u peardoc/configure.in:1.20 peardoc/configure.in:1.21 --- peardoc/configure.in:1.20 Tue Sep 13 17:24:01 2005 +++ peardoc/configure.in Sat Dec 10 11:01:37 2005 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.20 2005/09/13 21:24:01 techtonik Exp $ +dnl $Id: configure.in,v 1.21 2005/12/10 16:01:37 techtonik Exp $ dnl peardoc autoconf initialisation AC_INIT(global.ent) @@ -508,14 +508,16 @@ rm -f chapters.ent echo "<!-- DON'T TOUCH - AUTOGENERATED BY ./configure -->" > chapters.ent for file in find $srcdir/en -name "*.xml" | cut -d '/' -f 3- | sort -do - name=echo $file | sed -e"s/\//./g" -e"s/_/-/g" -e"s/.xml$//g" - if test -f $srcdir/$LANGDIR/$file +do +# name=echo $file | sed -e"y/\/_/.-/" -e"s/.xml$//g" + name=${file/%.xml/}; name=${name//\//.}; name=${name//_/-} + if test -f $srcdir/$LANGDIR/$file then - file=$srcdir/$LANGDIR/$file + file=$srcdir/$LANGDIR/$file else file=$srcdir/en/$file - echo " untranslated $file (wc -l <$file | tr -d ' ' lines)" +# echo " untranslated $file (wc -l <$file lines)" + echo " untranslated $file" fi echo "<!ENTITY $name SYSTEM \"$file\">" >> chapters.ent done

« previous php.pear.doc (#7287) next »