« Return to Thread: Request for $DESTDIR support in Makefile

Request for $DESTDIR support in Makefile

by Bugzilla from andersjjensen@gmail.com :: Rate this Message:

Reply to Author | View in Thread

Hi guys.

 It would make life a lot easier for both packagers and testers if the
autotools based build system could be made to support DESTDIR, like most other
autotools based packages does.

 Doing stuff like "./configure --prefix=/usr && make DESTDIR=/tmp/my-new-mesa-
package install" makes it easier to verify that everything ends in up the
right place, to do post install operations like stripping, creating symlinks,
gzipping manpages etc, and finally, making "real" packages.

 Especially over the last period of time (with so much cool heavy development
going on), has it been valuable to me to test things in various combinations,
for which package creation is naturally rather convenient. Each of the xorg
components support DESTDIR, but i have used a patch to fix this in mesa.

 However, the patch that i found does not apply on 7.6-devel, and i am not
savy enough to figure out what-goes-where now :-/

 I do, however, know that Slackware, Arch Linux and cross compiling people use
DESTDIR when available, simply because it is the easiest way (anyone intimate
with Debian or RH based build systems care to speak up?).

 It is a small change that will make life a lot easier for a lot of people,
and it will make it easier to test and bug report the latest and greatest in
Mesa development.

 I hope you will invest the time it takes to make Mesa testing more accessible
to the public.

 Yours Sincerely -
 Anders Juel Jensen

--
For reference: the general way packages are build in Slackware goes like this:

./configure --options
make
make DESTDIR=/tmp/package install
cd /tmp/package
makepkg package-name-x.y.z-$ARCH-$BUILD.tgz

And viola, we have a package that can be installed/removed in no time.. pretty
nifty when you want to try a series of patches in different combinations, or
you want to try different releases against different xservers/kernels/libdrms

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@...
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

 « Return to Thread: Request for $DESTDIR support in Makefile