Max Bowsher wrote:
> Earnie Boyd wrote:
> 
> 
> Unfortunately not - "make install bindir=/alternatelocation".
> 
> 
>> I prefer that over a switch, with a default
>>value for the variable of ../bin.
> 
> 
> I think that a switch is the only way, if we are to deal with the case I
> cite above.
> 

The Makefile sets
LIBTOOL := bindir=$(bindir) $(SHELL) $(top_builddir)/libtool

Then:
Test for the existance of bindir in the libtool script, if it doesn't 
exist set it to ../bin if it does exist the Makefile has passed it to 
libtool via an environment variable.

This works for `make install bindir=/alternatelocation".

Earnie.



_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to