[Mono-devel-list] gacutil flags revisited

Raja R Harinath rharinath at novell.com
Thu Nov 4 00:56:05 EST 2004


Hi,

Duncan Mak <duncan at ximian.com> writes:

> On Wed, 2004-11-03 at 12:19 +0530, Raja R Harinath wrote:
>> As a bonus, it will help us work-around b0rked build-buddy packaging
>> scripts that choose to use stuff like
>> 
>>   make install prefix=$DESTDIR/usr bindir=$DESTDIR/usr/bin
>
> If this is not correct, what should be the correct way to do the install
> step?

Well, it's supposed to be:

  make DESTDIR=$DESTDIR install

I understand why build-buddy chooses to use that style: custom install
rules often ignore DESTDIR, and it's probably more robust this way.  So,
calling it b0rked was overstating it ;-) 

However, when you're creating scripts or absolute symlinks based on
$(libdir) or $(bindir) during install time, you end up wrong symlinks
with the build-buddy approach.  (We faced this problem when Sudha wanted
to create SuSE 9.1 packages using the build-buddy scripts.)

Relative symlinks don't have that problem, and can make life simpler
elsewhere too -- the mono $(libdir) will be relocatable, for one.

- Hari



More information about the Mono-devel-list mailing list