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

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]



On Mon, 15 Jul 2002, Peter Wang wrote:

> On 2002-07-14, Stepan <stepan@xxxxxxxxxx> wrote:
> > While creating Allegro packages for Slackware I found that make install is
> > not accepting DESTDIR like automake-based makefiles do. So I've added it
> > to all installation targets (not to uninstallation where it is not as
> > useful). Patch attached (done against 4.0.2 makefile.in, but should apply
> > without a problem (I hope) to 4.1.x CVS). I suggest to apply it to all
> > branches.
>
> 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.

Have a nice day.

Stepan Roh



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