[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DESTDIR vs `make install exec_prefix='
From: |
Harlan Stenn |
Subject: |
Re: DESTDIR vs `make install exec_prefix=' |
Date: |
Sat, 18 Apr 2009 20:48:50 +0000 |
Ralf wrote:
> What I meant was this:
> ./configure --prefix=/usr/local
> make
> make install exec_prefix=
>
> with Automake 1.10.2, most likely ends up with an error at installation
> time, or with "install" overwriting files in the build tree or so. And
> this:
>
> ./configure --prefix=/usr/local
> make
> make install exec_prefix= DESTDIR=/tmp/dest
>
> most likely copies executable files into the /tmp/dest directory, which
> doesn't seem desirable either. So, for both of these cases, Automake
> 1.11 will not install executable files at all.
>
> This change in funtionality only affects cases where an installation
> directory has been set to the empty string. It should not affect your
> use case for stow at all.
>
> Hope that clears this up.
Reading the doc pages for automake, it looks like automake should not
install *anything* if either prefix or exec_prefix is the empty string,
under any circumstances.
So if one was trying to effect some interesting local policy described
above,
make install exec_prefix=/ DESTDIR=/tmp/dest
or
make install prefix=/ DESTDIR=/tmp/dest
would be the way to do that, right?
H
- Re: Core-utils 7.2; building only 'su', (continued)
- Re: Core-utils 7.2; building only 'su', Alfred M. Szmidt, 2009/04/15
- Re: Core-utils 7.2; building only 'su', Keith Marshall, 2009/04/15
- Re: Core-utils 7.2; building only 'su', Alfred M. Szmidt, 2009/04/15
- DESTDIR vs `make install exec_prefix=' (was: Core-utils 7.2; building only 'su'), Ralf Wildenhues, 2009/04/18
- Re: DESTDIR vs `make install exec_prefix=', Russ Allbery, 2009/04/18
- Re: DESTDIR vs `make install exec_prefix=', Ralf Wildenhues, 2009/04/18
- Re: DESTDIR vs `make install exec_prefix=',
Harlan Stenn <=
- Re: DESTDIR vs `make install exec_prefix=', Ralf Wildenhues, 2009/04/25
- Re: DESTDIR vs `make install exec_prefix=', Russ Allbery, 2009/04/18
- Re: DESTDIR vs `make install exec_prefix=', Jan Engelhardt, 2009/04/18
- Re: DESTDIR vs `make install exec_prefix=', John Calcote, 2009/04/18
- Re: DESTDIR vs `make install exec_prefix=', Jan Engelhardt, 2009/04/18
- Re: DESTDIR vs `make install exec_prefix=', Ralf Wildenhues, 2009/04/18
- Re: DESTDIR vs `make install exec_prefix=', Harlan Stenn, 2009/04/18
- Re: DESTDIR vs `make install exec_prefix=', Russ Allbery, 2009/04/18