[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: environment variables
- From: Mate Wierdl <mw wierdlmpc msci memphis edu>
- To: rpm-list redhat com, pneiswan evolving com
- Subject: Re: environment variables
- Date: Tue, 12 Sep 2000 13:07:23 -0500
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]
[]