cvs: peardoc / configure.in

From: Date: Fri, 16 Apr 2004 21:23:47 +0000
Subject: cvs: peardoc / configure.in
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-3573@lists.php.net to get a copy of this message
mj Fri Apr 16 17:23:47 2004 EDT Modified files: /peardoc configure.in Log: * Slightly speeding up the configure process by replacing some sed rules with calls to GNU tr. http://cvs.php.net/diff.php/peardoc/configure.in?r1=1.6&r2=1.7&ty=u Index: peardoc/configure.in diff -u peardoc/configure.in:1.6 peardoc/configure.in:1.7 --- peardoc/configure.in:1.6 Fri Apr 16 16:46:38 2004 +++ peardoc/configure.in Fri Apr 16 17:23:46 2004 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.6 2004/04/16 20:46:38 mj Exp $ +dnl $Id: configure.in,v 1.7 2004/04/16 21:23:46 mj Exp $ AC_INIT(global.ent) @@ -387,9 +387,9 @@ DEPEND_FILES="" rm -f chapters.ent echo "<!-- DON'T TOUCH - AUTOGENERATED BY ./configure -->" > chapters.ent -for file in find $srcdir/en -name "*.xml" | sed -e"s%^$srcdir\/en\/%%g" | sort +for file in find $srcdir/en -name "*.xml" | cut -d '/' -f 3- | sort do - name=echo $file | sed -e"s/\//./g" -e"s/.xml$//g" -e "s/_/-/g" + name=echo $file | tr '/_' '.-' | sed -e"s/.xml$//g" if test -f $srcdir/$LANGDIR/$file then file=$srcdir/$LANGDIR/$file @@ -398,7 +398,7 @@ echo " untranslated $file (wc -l <$file | tr -d ' ' lines)" fi DEPEND_FILES="$DEPEND_FILES $file" - echo "<!ENTITY $name SYSTEM \"$file\">" >> chapters.ent -done + echo "<!ENTITY $name SYSTEM \"$file\">" >> chapters.ent +done chmod a-w chapters.ent

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