On Fri, Oct 20, 2000 at 10:44:37AM -0700, Yves Arrouye wrote:
> > re: DESTDIR -- it's not used in the Makefile.in. I also can't 
> > find it in
> > 'info autoconf' or the html manual...
> 
> It's an Automake thing, and people who use Automake typically keep this as a
> good idea for their non-Automake packages. Oh well :) Redefining prefix etc.
> works quite well too.

Aha. I just poked around in an automake package. I see what you mean; this
is exactly what I was looking for. Thanks!

I've got:

Makefile.in:
DESTDIR :=
prefix  := ${DESTDIR}/@prefix@
etcdir  := ${DESTDIR}/etc
bindir  := @bindir@
....

debian/rules:
make install DESTDIR=`pwd`/debian/tmp

Thanks a bundle -- it is precisely what I needed: a level of indirection.
:-)

-- 
Wesley W. Terpstra <[EMAIL PROTECTED]>
Javien Canada Inc. - Linux Developer

PGP signature

Reply via email to