automake
[Top][All Lists]
Advanced

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

Re: DESTDIR vs `make install exec_prefix='


From: Russ Allbery
Subject: Re: DESTDIR vs `make install exec_prefix='
Date: Sat, 18 Apr 2009 13:06:02 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Russ Allbery <address@hidden> writes:
> Ralf Wildenhues <address@hidden> writes:

>> [1] I'm asking because Automake 1.11 will reliably not install files if
>> their respective installation directory is empty.  This is not yet
>> functional in Automake 1.10.2.  The test for emptiness in 1.11 will not
>> consider $(DESTDIR) of course, only $(bindir) etc.
>
> I must have misunderstood this, since it sounds like it would potentially
> break any system where each binary package is installed into a separate
> tree.  For example, stow packages are routinely installed with:
>
>     ./configure --prefix=/usr/local
>     make
>     make install prefix=/usr/local/stow/package-version
>
> DESTDIR cannot easily be used here because the stow layout should have
> simple bin, etc, lib, etc. directories directly under that directory, not
> with an extra /usr/local in the way.

Oh, you mean if the value of the *variable* is empty (following the
thread), not the directory itself.  D'oh, sorry, that should have been
obvious to me from context.  Never mind.  :)

-- 
Russ Allbery (address@hidden)             <http://www.eyrie.org/~eagle/>




reply via email to

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