diff options
author | Tom Gundersen <teg@jklm.no> | 2013-03-20 17:31:21 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2013-05-07 14:15:26 +0100 |
commit | 04faa0e1438f3bfbc0644c9adf9e6e17e06da389 (patch) | |
tree | 1c194e8108f5ce135940c9a3bfcf63069f4886d1 /rules/Makefile.am | |
parent | 5b02923e012589930a78053fb0cbc9caa1675206 (diff) |
build: detect udev rules dir
Udev rules may live in either /lib/udev/rules.d or /usr/lib/udev/rules.d depending on the distro.
Remove the heuristic for deciding the dir, use pkgconfig to detect the location and allow it to be
set manually.
v2: fix specifying --with-udevrulesdir
Signed-off-by: Richard Hughes <richard@hughsie.com>
Diffstat (limited to 'rules/Makefile.am')
-rw-r--r-- | rules/Makefile.am | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/rules/Makefile.am b/rules/Makefile.am index 1564b40..a66490a 100644 --- a/rules/Makefile.am +++ b/rules/Makefile.am @@ -1,6 +1,5 @@ ## Process this file with automake to produce Makefile.in -udevrulesdir = $(slashlibdir)/udev/rules.d udevrules_DATA = \ 95-upower-battery-recall-dell.rules \ 95-upower-battery-recall-fujitsu.rules \ |