Mandrake macro %makeinstall ?
Hugo van der Kooij
hvdkooij at vanderkooij.org
Sun Mar 21 15:43:46 UTC 2004
On Sun, 21 Mar 2004, Jos Vos wrote:
> On Sun, Mar 21, 2004 at 01:58:48PM +0100, Hugo van der Kooij wrote:
>
> > I could not find the mandrake macro %makeinstall on the page
> > http://www.fedora.us/wiki/ReferenceMandrakeRPMMacros
> >
> > Does anyone know what it should do exactly?
> >
> > My guess is it should do
> > make install --prefix=${RPM_BUILD_ROOT}%{prefix}
> >
> > But I could be completely mistaken.
>
> Look (in Mandrake) for something like /usr/lib/rpm/mandrake/macros.
I do not happen to have any Mandrake on me. Nor does any of my machines.
> In RH context it means:
>
> %makeinstall \
> make \\\
> prefix=%{?buildroot:%{buildroot}}%{_prefix} \\\
> exec_prefix=%{?buildroot:%{buildroot}}%{_exec_prefix} \\\
> bindir=%{?buildroot:%{buildroot}}%{_bindir} \\\
> sbindir=%{?buildroot:%{buildroot}}%{_sbindir} \\\
> sysconfdir=%{?buildroot:%{buildroot}}%{_sysconfdir} \\\
> datadir=%{?buildroot:%{buildroot}}%{_datadir} \\\
> includedir=%{?buildroot:%{buildroot}}%{_includedir} \\\
> libdir=%{?buildroot:%{buildroot}}%{_libdir} \\\
> libexecdir=%{?buildroot:%{buildroot}}%{_libexecdir} \\\
> localstatedir=%{?buildroot:%{buildroot}}%{_localstatedir} \\\
> sharedstatedir=%{?buildroot:%{buildroot}}%{_sharedstatedir} \\\
> mandir=%{?buildroot:%{buildroot}}%{_mandir} \\\
> infodir=%{?buildroot:%{buildroot}}%{_infodir} \\\
> install
Could someone add this to the relevant page?
Hugo.
--
All email sent to me is bound to the rules described on my homepage.
hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of sysadmins,
for they are subtle and quick to anger.
More information about the fedora-devel-list
mailing list