[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting files in /lib/udev/rules.d with Makefile.am
From: |
Diego Elio Pettenò |
Subject: |
Re: Getting files in /lib/udev/rules.d with Makefile.am |
Date: |
Fri, 14 Mar 2014 22:38:51 +0000 |
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
address@hidden — http://blog.flameeyes.eu/
On 14 March 2014 18:33, Paul Richards <address@hidden> wrote:
> 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
> debian.
>
>
> Any help is greatly appreciated!
>
> Thanks,
>
> Paul Richards