[Fedora-packaging] %makeinstall - must not or should not use it?

Toshio Kuratomi toshio at tiki-lounge.com
Fri Aug 18 14:43:40 UTC 2006


On Fri, 2006-08-18 at 15:03 +0100, Paul Howarth wrote:
> Till Maas wrote:
> > Hiyas,
> > 
> > the Packaging Guidelines contradict itself about the usage of %makeinstall
> > 
> > http://fedoraproject.org/wiki/Packaging/Guidelines#head-fcaf3e6fcbd51194a5d0dbcfbdd2fcb7791dd002
> > 
> > The headline says "Why the %makeinstall macro should not be used" and the 
> > first sentence says "RPM, as included in Fedora, includes a %makeinstall 
> > macro, but you must NOT use this macro in Fedora packages."
> > 
> > It seems to be used by a lot of maintainers, so is this just a should not or 
> > is this another candidate for a major specfile-cleanup project?
> 
> Whoever wrote this text misrepresents the conclusion of the discussion 
> that lead to its inclusion I think.
> 
> "make DESTDIR=%{buildroot} install" should be *preferred* when it works, 
> but there are times when %makeinstall works and there is no DESTDIR 
> support in a package's Makefiles, so writing this as a "must not" as it 
> is at the moment is just daft IMHO.

Does this make more sense?

"Fedora's RPM includes a %makeinstall macro but it must NOT be used when
make install DESTDIR=%{buildroot} will work.  %makeinstall is a kludge
that can work with broken Makefiles that don't make use of the DESTDIR
variable but it has the following potential issues:"

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20060818/391ff71b/attachment.sig>


More information about the Fedora-packaging mailing list