Amanda-Users

Re: fake install path

2004-03-01 16:33:55
Subject: Re: fake install path
From: "Brandon D. Valentine" <brandon AT dvalentine DOT com>
To: Paul Bijnens <paul.bijnens AT xplanation DOT com>
Date: Mon, 1 Mar 2004 15:31:45 -0600
On Mon, Mar 01, 2004 at 10:10:13PM +0100, Paul Bijnens wrote:
> Jonathan Dill wrote:
> >I vaguely recall that there is variable that you can pass to 'make' to 
> >install to a different root, similar to what happens during building a 
> >binary RPM, for example:
> >
> >make install VARIABLE=/tmp/amanda-2.4.4p2
> 
> The prefix= can be specified to override the configure prefix
> like:
> 
>   make install prefix=/tmp/amanda-2.4.4p2

This is not what you want, Jonathan.  DESTDIR is the correct variable to
overload for package building at the make install stage.  PREFIX is
defined at configure time as the install location.  DESTDIR will be
prepended to PREFIX at make install time.

HTH,

Brandon D. Valentine
-- 
brandon AT dvalentine DOT com                           http://www.geekpunk.net
Pseudo-Random Googlism:  february is national pet dental health month

<Prev in Thread] Current Thread [Next in Thread>