bug-autoconf
[Top][All Lists]
Advanced

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

How to install scripts in a different place from binaries?


From: Reuben Thomas
Subject: How to install scripts in a different place from binaries?
Date: Mon, 7 Mar 2011 19:46:56 +0000

To allow for multiple architectures, I use

./configure --prefix=/home/rrt/local --exec-prefix=/home/rrt/local/`uname -m`

to configure code I want to install in my home directory, which may be
copied on to machines with different architectures. (This scheme could
be tweaked, e.g. by using `hostname` instead of `uname -m`, to support
incompatible toolchain versions.)

However, this means that projects which install scripts (e.g. via
automake's bin_SCRIPTS), also have those programs installed in
${exec_prefix}/bin, where I'd expect ${prefix}/bin.

Is there a solution I'm missing?

-- 
http://rrt.sc3d.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]