[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to install scripts in a different place from binaries?
From: |
Mike Frysinger |
Subject: |
Re: How to install scripts in a different place from binaries? |
Date: |
Mon, 7 Mar 2011 15:46:48 -0500 |
User-agent: |
KMail/1.13.6 (Linux/2.6.37; KDE/4.6.0; x86_64; ; ) |
On Monday, March 07, 2011 14:46:56 Reuben Thomas wrote:
> 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.)
seems like $host_cpu or just $host would be a better fit, but whatever.
> 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?
try naming it "foo_SCRIPTS" instead ? then you'll have a --foodir= configure
option iirc.
-mike
signature.asc
Description: This is a digitally signed message part.