[kaffe] Bug Report: libraries/javalib/Makefile.{am,in}

Hervé Roussain roussain@univ-ubs.fr
Wed, 23 Oct 2002 14:48:09 +0200


The last CVS modification to the libraries/javalib/Makefile.{am,in} 
files doesn't work in every time:

Note:
(cd $(LIBDIR) ; $(ZIP) ... `grep '\.class$$' ../bootstrap.classlist` ... )
was changed to :
(cd $(LIBDIR) ; $(ZIP) ... `grep '\.class$$' 
$(srcdir)//bootstrap.classlist` ... )

But - at least with the versions of automake(1.4) & autoconf(2.13) I use 
- "$(srcdir)" is replaced by ".". So the bootstrap.classlist file is not 
found (and there is no error message!). So Klasses.jar.bootstrap 
contains only two files (kaffe/lang/unicode.{idx,tbl}).

A possible solution is to use a variable that contains class names 
before changing to $(LIBDIR) directory:

( classnames=`grep '\.class$$' $(srcdir)/bootstrap.classlist` ; cd 
$(LIBDIR) ; $(ZIP) ... $$classnames )