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

Re: environment variables



On Tue, Sep 12, 2000 at 11:20:03AM -0600, Phillip Neiswanger wrote:
> Hi,
> 
> Is there anyway to get at the value of Prefix?  I would like to pass Prefix
> to make in the install section of the spec file, but there isn't an
> RPM_PREFIX variable.  I suppose I can hard code the value in the Makefile,
> but it makes more sense to me to have it passed in from rpm.

$ grep prefix /usr/lib/rpm/macros|head -1
%_prefix                /usr

So use %_prefix.

Mate





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