On Mon, Mar 31, 2014 at 01:25:40PM +0200, Markus Mayer wrote: >> Regarding udev rules, hm, do you think it'd be appropriate to use >> "pkg-config --variable=udevdir udev" and if present to copy the rules >> file to DESTDIR+prefix+(that path) during make install? Sounds a bit >> too hacky. > > I would just hard code the path to either /etc/udev[...] or > /usr/share/udev[...]. The packager can fix this easily. It's only > important to have it in a standard udev dir.
Why would the udev pc file contain that variable if the udev authors thought everyone should hardcode /etc/udev path? BTW, do you probably know of any examples of well-known software that copies udev rules during make install? Please do not get me wrong, but I'd really like to have a correct long-term solution. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:[email protected] ------------------------------------------------------------------------------ _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
