[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: prefix
From: |
Bob Proulx |
Subject: |
Re: prefix |
Date: |
Wed, 30 Nov 2005 23:27:14 -0700 |
User-agent: |
Mutt/1.5.9i |
Baurzhan Ismagulov wrote:
> Roesner Thomas wrote:
> > i want to configure my package without setting the --prefix option. By
> > default "make install" tries to copy libs and binaries to /usr/lib or
> > /usr/bin, but I need the files copied to ./bin and ./lib.
> >
> > Can anybody tell me wich variable must be set to `pwd` within the
> > configure.in?
>
> I use the following command:
>
> make DESTDIR=`pwd` install
>
> This is useful, e.g., while creating a package. However, this installs
> the files into ./usr/bin, etc. Does this suit your needs? I don't know
> how to do that from configure.in.
I believe setting prefix similarly would remove the prefix. The
installation is to $DESTDIR/$prefix/bin and others. So without
trying it I believe either of the following would work.
make DESTDIR=$(pwd) prefix="" install
Or:
make prefix=$(pwd) install
Bob
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: prefix,
Bob Proulx <=