New build system



On Tue, 2002-02-19 at 11:01, Vadim V. Zhytnikov wrote:
> I quickly baked rpm 4 spec which generates
> separate binary packages
> maxima-common
> maxima-clisp
> maxima-gcl
> ...
> and so on - one extra package for each
> lisp system. The spec is not finished yet since
> the whole build system is not completed
> but later it can be added to cvs.

Very good. That's another TODO item soon to be completed.

> Suggestion for TODO:
> -- add make rules for generating
>   .texi -> .HTML
> documentation. Html is very covenant
> for online browsing especially in
> combination with xmaxima.

Good. I added it to TODO.

> And finally I have some specific feature request
> which is related to rpm build/packaging system
> (maybe to debian build system too, I just don't
> know debian).
> 
> Traditionally when binary rpm package
> is built the install stage writes all package
> files into their actual locations
> /usr/bin, /usr/lib ... etc. This is not very nice
> and safe thing.

<snip>

What you describe is certainly the Right Way. I think you can do what
you want without any modifications to the build system. The build system
uses the built-in features of automake wherever possible, so the maxima
package should be a pretty ordinary package. The basic idea is to do

	./configure --prefix=/foo
	make
	make prefix=/buildroot/foo install

I just tried it and it worked.

--Jim