Mariano Alvarez Fernandez wrote:
Guillem Jover wrote:
Hi,
I've been thinking on packaging grx for Debian. I don't know if I'll do that but anyway, as I have been using it for some projects I've some updates to the library.
This patch updates the configure and some makefiles, it uses now standard GNU configure paths, overrideable with the configure script, or make variables. It honours DESTDIR, and makes easier the packaging task.
Thanks for your work, but I am not sure to apply this patch.
I don't know why a programmer could prefer to install a grx package instead the real distribution.
This is meant for creating binary packages, not the source distribution.
Anyway, if other people like this patch, please say, and I probably will apply it. The patch doesn't do nothing new, but it doesn't hurt neither.
I think it's quite useful to be able to build binary packages without installing a package and without using special tricks (such as temporary overriding the prefix).
The patch seems to work fine in my test. BTW, I'd change `unitspath' to `unitpath' or `unit_path' (just replace it globally in configure), since the corresponding GPC option is `--unit-path', but it doesn't matter so much.
While you're at it, Guillem, would you think it's useful to add a `bindist' target to the Makefile (which does a `make install install-info' with DESTDIR set and puts the installed files in an archive)?
Frank