cvs: peardoc / configure.in

From: Date: Wed, 09 Mar 2005 09:29:34 +0000
Subject: cvs: peardoc / configure.in
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-5632@lists.php.net to get a copy of this message
mj Wed Mar 9 04:29:34 2005 EDT Modified files: /peardoc configure.in Log: * Some optimizations for the configure chain: - Getting rid of DEPEND_FILES does not hurt because it doesn't seem to be used anywhere. - Instead of using tr to replace slashes and underscores the translations are now done using sed which works much faster. # I have tested this successfully on my local setup. Please report if you # experience any problems. (You'll have to run autoconf in order to # regenerate your configure script.) http://cvs.php.net/diff.php/peardoc/configure.in?r1=1.9&r2=1.10&ty=u Index: peardoc/configure.in diff -u peardoc/configure.in:1.9 peardoc/configure.in:1.10 --- peardoc/configure.in:1.9 Sat Feb 5 20:20:12 2005 +++ peardoc/configure.in Wed Mar 9 04:29:32 2005 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.9 2005/02/06 01:20:12 didou Exp $ +dnl $Id: configure.in,v 1.10 2005/03/09 09:29:32 mj Exp $ AC_INIT(global.ent) @@ -386,12 +386,11 @@ dnl check for files and translations, create chapter entities echo creating chapters.ent -DEPEND_FILES="" 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 | tr '/_' '.-' | sed -e"s/.xml$//g" + name=echo $file | sed -e"s/\//./g" -e"s/_/-/g" -e"s/.xml$//g" if test -f $srcdir/$LANGDIR/$file then file=$srcdir/$LANGDIR/$file @@ -399,8 +398,6 @@ file=$srcdir/en/$file echo " untranslated $file (wc -l <$file | tr -d ' ' lines)" fi - DEPEND_FILES="$DEPEND_FILES $file" echo "<!ENTITY $name SYSTEM \"$file\">" >> chapters.ent done chmod a-w chapters.ent -

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