Re: [AD] [Patch] DESTDIR in make install

[ Thread Index | Date Index | More Archives ]

On 2002-07-15, Stepan <stepan@xxxxxxxxxx> wrote:
> On Mon, 15 Jul 2002, Peter Wang wrote:
> > Doesn't "prefix" do this job already?
> No. DESTDIR allows you to install to different location (e.g. /tmp/bla
> which can be then packaged) while still using specified prefix so e.g.
> allegro-config will show /usr instead of /tmp/bla.

allegro-config is made at configure-time.  I'm not sure, but I don't
think prefix is used in the C source.

FYI, I build packages like this:

    ./configure --prefix=/usr
    make install prefix=/tmp/bla/usr
    cd /tmp/bla
    chmod ... ; chmod ...
    makepkg allegro.tgz


Mail converted by MHonArc 2.6.19+