Re: Getting files in /lib/udev/rules.d with Makefile.am

2014-03-14 Thread Diego Elio Pettenò
You want to use pkg-config to get the right directory to install to, and make it a new install class dnl configure.ac PKG_CHECK_VARIABLE(udevrulesdir, ...) (or whatever the name is of the macro, I forgot) # Makefile.am udevrules_DATA = foo.rules. Diego Elio Pettenò — Flameeyes flamee...@flameey

Getting files in /lib/udev/rules.d with Makefile.am

2014-03-14 Thread Paul Richards
Hello, I have a package I am working on and was wondering how to get my udev rules file into the directory /lib/udev/rules.d, if there is a variable substitution for the /lib directory. I found the macro $(libdir), but on debian this expands to /usr/local/lib which does not work for udev on debi

Automake: how to get files into /lib/udev/rules.d

2014-03-14 Thread Paul Richards
Hello I have a package I am working on and was wondering how to get my udev rules file into /lib/udev/rules.d, if there is a variable substitution for the /lib directory. I found the macro $(libdir), but on debian this expands to /usr/local/lib which does not work for udev. Any help is greatly app