From 04faa0e1438f3bfbc0644c9adf9e6e17e06da389 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Wed, 20 Mar 2013 17:31:21 +0100 Subject: 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 --- rules/Makefile.am | 1 - 1 file changed, 1 deletion(-) (limited to 'rules') 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 \ -- cgit v1.2.1