Le 28/06/2012 18:50, Guillem Jover a écrit :
On Thu, 2012-06-28 at 03:53:01 -0700, David Melik wrote:
I am wondering if the Makefile for GRX supports, or will support, DESTDIR. I tried to create a SlackBuild, but had problems, I think because there was no DESTDIR. I prefer fully Free Software and want to switch to Kongoni or maybe Parabola one day, but if I make a SlackBuild it of course could be used for those distributions.
I don't think it does, it used to have an equivalent INSTALLDIR variable, but I've not checked latest releases. I sent a patch to add that some time ago [0] but it never got applied. I'd gladly try to refresh it if there's interest in it.
Here is attached a generalisation of your work to all current targets in grx 2.4.8 It honours DESTDIR INSTALLDIR is no more present, but prefix is there
Some side changes: when correcting the old configure/makedefs/makefiles to include x86_64 I used a Fedora Core 6 system for which lib was lib32 and lib64 was a separate directory. Now I use also a more modern debian system for which lib is lib64 and lib32 is a separate directory. I thus can no more guess the relatioship between x86_64 and the lib involved. It is supposed that lib is OK, and if not configure can supply correct libdir and x11-lib
Maurice
Maurice Lombardi Laboratoire Interdisciplinaire de Physique, (ex Spectrometrie Physique) Universite Joseph Fourier de Grenoble, BP87 38402 Saint Martin d'Heres Cedex FRANCE Tel: 33 (0)4 76 51 47 51 Fax: 33 (0)4 76 63 54 95 mailto:Maurice.Lombardi@ujf-grenoble.fr