distclean [was: Re: UnsatisfiedLinkError]

"Grzegorz B. Prokopski" <[email protected]> Tue, 18 Jan 2005 23:31:35 -0500
Newsgroups gmane.comp.java.vm.sablevm.devel
Message-ID <[email protected]>
On Tue, 2005-18-01 at 22:25 -0500, Chris Pickett wrote:
> BTW, I noticed that "make distclean" doesn't do anything to reset the 
> version number, so that even though I upgraded from 3291 to 3306, it 
> still said "staging+3291" when I did "sablevm --version".  Maybe the 

True.  'distclean' does not remove configure, in which the
PACKAGE_VERSION variable is set.  

> list of files produced by "svn st --no-ignore" after "make distclean" 
> should also be included in the "make distclean".  Removing them all 
> fixed the problem for me.

Of course, but we cannot add such functionality to 'distclean' because:
a) we cannot rely on 'svn' being available to perform distclean
b) removing configure and all Makefile.in is beyond what 'distclean' is
supposed to do (ie. you would *have to* run autogen.sh thereafter)

I'd suggest adding a 'hardclean' (or similar) target, that would depend
on distclean, and that would also remove configure and Makefile.in's,
or maybe a 'svndistclean' that would use 'svn' command to remove all
files that are not in subversion (though it's slightly dangerous, if
ie. you have files not yet added to SVN).

Cheers,

				GBP

-- 
Grzegorz B. Prokopski           <[email protected]>
SableVM - Free, LGPL'ed Java VM  http://sablevm.org
Why SableVM ?!?                  http://sablevm.org/wiki/Features
Debian GNU/Linux - the Free OS   http://www.debian.org