summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2013-01-08 18:53:12 -0600
committerWilliam Hubbs <williamh@gentoo.org>2013-01-08 18:53:12 -0600
commitbbfc1fd62e16b7d6971712109cf5abe9665ca9fd (patch)
treea0e7fb97b80a1c33101ea8122ddf5641ea64ffb6 /Makefile
parentudev: return error if unable to find executable (diff)
downloadudev-gentoo-scripts-bbfc1fd62e16b7d6971712109cf5abe9665ca9fd.tar.gz
udev-gentoo-scripts-bbfc1fd62e16b7d6971712109cf5abe9665ca9fd.tar.bz2
udev-gentoo-scripts-bbfc1fd62e16b7d6971712109cf5abe9665ca9fd.zip
build: use pkg-config
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 11a433e..92b9849 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ PACKAGE = udev-init-scripts
VERSION = 18
DISTNAME = $(PACKAGE)-$(VERSION)
-LIBUDEV ?= /usr/lib/udev
+LIBUDEV ?= $(shell pkg-config udev --variable=udevdir)
RULESDIR ?= $(LIBUDEV)/rules.d
SYSCONFDIR ?= /etc
CONFD ?= $(SYSCONFDIR)/conf.d