Bill Allombert on Thu, 3 Jul 2003 20:30:12 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Description system

On Thu, Jun 26, 2003 at 10:07:40PM +0200, Bill Allombert wrote:
> Hello PARI CVS users,
> I have just commited the description system.
> This will cause some minor annoyance to CVS users.
> 1) You need perl in your PATH
> 2) You need to do cvs update -d this time so that new directory are
> added.
> 3) You will need to rerun Configure so that makefile are rebuild.
> If all go well, you just need to run make gp at this stage.
> If things go wild, try 
> cd src/desc; make veryclean; make; cd ../..

Well, the problem with the above is that it must be run after
each changes in the database, which is unfortunate.

The above patch should fix that, but I am not sure about 
portability or gotchas.

Note that  functions/*/* cannot be replaced by a precomputed list
at configure time, since the goal is to catch files that can get added.


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 @@
 cat >> $file << EOT
+$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