Ilya Zakharevich on Thu, 3 Jul 2003 11:56:29 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Description system |
On Thu, Jul 03, 2003 at 08:30:12PM +0200, Bill Allombert wrote: > Note that functions/*/* cannot be replaced by a precomputed list > at configure time, since the goal is to catch files that can get added. */* is in no way portable. $src/funclist: ls $src/functions/*/* > $src/funclist-tmp sh $src/config/mv-if-diff $src/funclist.tmp $src/funclist Make $src/funclist a prerequesite. [steal mv-if-diff from perl distributions.] > Index: config/Makefile.SH > =================================================================== > RCS file: /home/megrez/cvsroot/pari/config/Makefile.SH,v > retrieving revision 1.87 > diff -u -r1.87 Makefile.SH > --- config/Makefile.SH 2003/06/26 19:30:51 1.87 > +++ config/Makefile.SH 2003/07/03 18:11:54 > @@ -567,7 +567,7 @@ > EOT > > cat >> $file << EOT > -$src/desc/Def: > +$src/desc/Def: $src/functions/*/* > cd $src/desc; make Def > > $src/gp/gp_init.h $src/gp/highlvl.h $src/language/init.h: $src/desc/Def Hope this helps, Ilya