On Tue, Sep 09, 2003 at 10:45:15AM +0900, Miles Bader wrote:
> James Michael Greenhalgh <[EMAIL PROTECTED]> writes:
> > > (cd build && $(MAKE) install prefix=$(CURDIR)/debian/gcc4arm/usr)
> > 
> > Dunno about 'prefix=' ... I've always used 'DESTDIR='?
> 
> Specifying prefix on the make command line should work and not try to
> install to /usr (though he appears to be using it incorrectly so
> probably won't get what he wants).

Using prefix is dangerous, because it may be compiled into the code or
scripts. It may work with most packages, but not all. prefix is meant
to be the final destination.

> DESTDIR is convenient, but not supported by as many packages (gcc does
> support it though).

If DESTDIR is not supported, we should make it to support it, and send
the fix to upstream.

Greetings,
Oliver

-- 
  .''`.
 : :' :    Oliver Kurth [EMAIL PROTECTED]
 `. `'           Debian GNU/Linux maintainer - www.debian.org
   `-
When sending passwords, please use my gpg key. That's what it's good for.

Attachment: pgpsKmrm2JVU2.pgp
Description: PGP signature

Reply via email to