David Melik wrote:
I am wondering if the Makefile for GRX supports, or will support, DESTDIR.
Not DESTDIR, but INSTALLDIR which needs to include the prefix, i.e. you could set INSTALLDIR="$DESTDIR/$prefix" (where prefix on Unix defaults to /usr/local, as usual). Its Makefiles were written in a time when DESTDIR was not widely used (or maybe not even "invented" yet) and have never been updated.
If you use the configure script, it doesn't support it yet (always sets INSTALLDIR to $prefix by default), but I think you can easily change it to add DESTDIR (either evaluated when configure is called, or let it put $(DESTDIR) in the generated config file so DESTDIR will be evaluated on the "make install" call as usual).
I wrote the configure script originally, but I don't use GRX myself anymore, so I'm just lurking here.
If you'd like to update the configure script and/or the Makefiles in this regard and post your patches here, I'm sure Maurice, the current maintainer, will include them in the distribution. (I'd not recommend to remove INSTALLDIR in the process, since some users may rely on it.)
Regards, Frank