|Re: [AD] [Patch] DESTDIR in make install|
[ Thread Index |
| More lists.liballeg.org/allegro-developers Archives
On Mon, 15 Jul 2002, Peter Wang wrote:
> 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
Hmmm. Interesting, not quite automakeish, but may work. I will look into
it when I am home.
Have a nice day.