[Top][All Lists]

[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 12:50:24 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Ralf Wildenhues <address@hidden> writes:

> [ dropping bug-coreutils ]

Dropping down to just the automake list.

> [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 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.

Russ Allbery (address@hidden)             <>

reply via email to

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