[Mono-devel-list] gacutil flags revisited

Peter Williams peter at newton.cx
Wed Nov 3 20:58:12 EST 2004

Two comments:

On Tue, 2004-11-02 at 16:54, Mike Kestner wrote:
> My suggestion is to make gacutil respect DESTDIR.  To support backward
> compatibility, I would leave -root and -gacdir exactly as they are.  We
> would add a new flag (call it -libdir, perhaps). If gacutil detects that
> DESTDIR is set, it should perform the current -root linkages while
> prepending DESTDIR to the -libdir path for the temporary installation
> target.  If DESTDIR is not set, the -gacdir linkages are performed and
> everything goes directly into -libdir.

* It might help to give the flags more distinguishable names; too late
now for -root and -gacdir, but maybe something different for the new
option. Although I'm not sure I see why you need the new flag if you're
just going to honor a DESTDIR environment variable.

* I don't think it's good policy to rely on DESTDIR being an environment
variable; it might just be a make variable that isn't necessarily
exported to the environment. I don't know if automake exports DESTDIR,
and other build systems conceivably might not do so.


Peter Williams                          peter at newton.cx

"[Ninjas] are cool; and by cool, I mean totally sweet."
                              -- REAL Ultimate Power

More information about the Mono-devel-list mailing list