cvs: phpdoc / .cvsignore configure.in

From: Date: Sun, 17 Jul 2005 17:01:44 +0000
Subject: cvs: phpdoc / .cvsignore configure.in
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969369179@lists.php.net to get a copy of this message
nlopess Sun Jul 17 13:01:44 2005 EDT Modified files: /phpdoc .cvsignore configure.in Log: cache the *.in files. this offers a big speedup when doing a ./configure in the phpdoc-all module. #not sure if there was a simpler solution, but this works :) http://cvs.php.net/diff.php/phpdoc/.cvsignore?r1=1.43&r2=1.44&ty=u Index: phpdoc/.cvsignore diff -u phpdoc/.cvsignore:1.43 phpdoc/.cvsignore:1.44 --- phpdoc/.cvsignore:1.43 Tue Jun 28 10:41:07 2005 +++ phpdoc/.cvsignore Sun Jul 17 13:01:41 2005 @@ -39,3 +39,4 @@ missing-entities.out manual.fo .project +infiles.cache http://cvs.php.net/diff.php/phpdoc/configure.in?r1=1.229&r2=1.230&ty=u Index: phpdoc/configure.in diff -u phpdoc/configure.in:1.229 phpdoc/configure.in:1.230 --- phpdoc/configure.in:1.229 Sat Apr 30 15:30:31 2005 +++ phpdoc/configure.in Sun Jul 17 13:01:41 2005 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.229 2005/04/30 19:30:31 nlopess Exp $ +dnl $Id: configure.in,v 1.230 2005/07/17 17:01:41 nlopess Exp $ dnl autoconf initialisation AC_INIT() @@ -794,8 +794,21 @@ dnl {{{ makefile targets for configure-generated files rm -f autogenerated_rules + + +echo -n "checking for *.in files... " +if test -e infiles.cache ; then + echo -n "(cached) " + infiles=cat infiles.cache +else + infiles=find . -name "*.in" + echo -n "$infiles" > infiles.cache +fi + +echo "done!" + ( -for file in find . -name "*.in"; do +for file in $infiles; do case "$file" in ./configure.in) echo configure: configure.in @@ -820,7 +833,7 @@ dnl {{{ generate output files dnl {{{ find all *.in files and process them with AC_OUTPUT -for infile in find $srcdir -name "*.in" +for infile in $infiles do if test basename $infile != "configure.in" then @@ -831,7 +844,7 @@ fi done AC_OUTPUT($OUTFILES) -find $srcdir -name "*.sh" | tee find.log | xargs chmod u+x +find ./scripts -name "*.sh" | tee find.log | xargs chmod u+x dnl }}} dnl {{{ create default empty phpweb.ent file

« previous php.doc (#969369179) next »