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

Re: undocumented macros in spec file?



rpjday wrote:
> 
>   in some of the newer RPMs, i've noticed the following macros
> that aren't explained in the docs:
> 
> %build
> 
> %configure   <---
> %make        <---
> 
> %install
> 
> %makeinstall <---
> 
>   based on what i know about spec files, i'm *assuming* that these
> macros are just abbreviations for running a standard make/configure/
> make install.  the only one that gives me pause is the %makeinstall
> since, if it's a macro, i would hope it would automatically take into
> account the value of ${RPM_BUILD_ROOT} if it's actually doing the
> "make install" portion of the makefile.
> 
>   can anyone point me to what these macros are equivalent to?

Look at the 'macros' file, probably in /usr/lib/rpm/macros.  That has
the definitions of those macros... and no, they aren't all _that_
simple.

HTH,

Eli
--------------------.     Real Users find the one combination of bizarre
Eli Carter           \ input values that shuts down the system for days.
eli.carter(a)inet.com `-------------------------------------------------





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