%{__make} install vs %makeinstall
Michal Moskal
michal.moskal at gmail.com
Sun Aug 7 23:33:11 CEST 2005
On 8/7/05, The Undefined <undefine at aramin.net> wrote:
> On Thu, Aug 04, 2005 at 10:43:05AM +0200, Jan Widel wrote:
> > /usr/lib/rpm/macros :
> > %__make /usr/bin/make
> >
> > %makeinstall \
> ok...
> a dlaczego w pld używane jest to pierwsze?
> w innych dystrybucjach używają makeinstall i jakoś żyją...
> "nasze" jest "lepsze"? czy jak?
Jeśli w install jest coś w rodzaju:
( echo "#!/bin/sh"; echo "$(bindir)/foobar" ) > $(DESTDIR)$(bindir)/barqux
to standardowy make install DESTDIR=... zrobi dobrze a makeinstall po
cichu wyprodukuje wadliwy pakiet.
A ogólnie to po to jest DESTDIR, żeby go stosować a nie jakieś hacki.
--
Michal Moskal,
http://nemerle.org/~malekith/
More information about the pld-devel-pl
mailing list