-
Notifications
You must be signed in to change notification settings - Fork 256
Description
The only way to install lcov using its makefile install target, forces options like --fixlibdir, --fixbindir, and --fixscriptdir, which means that the installation contains hardcoded paths and is not relocatable. Without these options the installation is relocatable, as long as you keep the relative paths of the package correct.
I understand that the current install allows the files in bin to be copied somewhere else, by themselves, and still work. I'm not really sure who would use this feature (you can't move the bin directory since bindir is a hardcoded path) versus something like symlinks, but OK.
It would be great if there were a makefile target that allowed installation in a relocatable fashion. I originally thought maybe it could be done by just moving a lot of these options into a make variable that could be overridden on the command line, but it seems the combination of options is complex enough to make that tricky. A separate target, like install-reloc or something, might be simpler.