On Mon, 2006-09-11 at 09:40 +0530, Parag N(पराग़) wrote:
So in other words i can say if i am going to package any tarball i
should first check main Makefile for DESTDIR variable. If its present
use
make install DESTDIR=%{buildroot}
This part is correct barring brokecn Makefiles :-). I think all
packages which use automake have DESTDIR (although this might not be the
case in the distant past).
if DESTDIR is not in Makefile use
%makeinstall
right?
... and be sure to check that it doesn't compile the buildroot's path
into the resulting programs.
-Toshio