Re: Mandrake macro %makeinstall ?

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

 



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@xxxxxxxxxxxxxxx		http://hvdkooij.xs4all.nl/
	    Don't meddle in the affairs of sysadmins,
	    for they are subtle and quick to anger.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux