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

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers 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
    make install prefix=/tmp/bla/usr
    cd /tmp/bla
    su
    chmod ... ; chmod ...
    makepkg allegro.tgz

-- 
王浩禎



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/