bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: gettext


From: Russ Allbery
Subject: Re: gettext
Date: Mon, 15 Jul 2002 17:10:14 -0700
User-agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Common Lisp, sparc-sun-solaris2.6)

Alfred M Szmidt <address@hidden> writes:
> Russ Allbery <address@hidden> writes:

>> DESTDIR is not a proper replacement for changing prefix at
>> install-time.  DESTDIR assumes a simple prefix to the build-time path,
>> which is wrong for many existing site-wide software setups using, e.g.,
>> AFS.

> Huh, I don't understand this.  DESTDIR is the correct way of installing
> things, just like using prefix is.  Only that DESTDIR is prepended to
> all installation targets.  DESTDIR has nothing to do with any kind of
> build time information, as it is only used in the install targets.
> Where prefix (and the rest) may be used to hard code paths at compile
> time.

DESTDIR is prepended to the runtime path.  It can't be an arbitrarily
different path.

If I built something to use /afs/example.com/sw/@sys/usr/local as its
prefix and want to install in /afs/.example.com/sw/@sys/usr/local, which
is a common thing to want to do with AFS since the former is a read-only
path and the later is a read/write path, I can't do that with DESTDIR.

Changing prefix at install-time works fine, though.

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



reply via email to

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