diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-07-05 09:48:24 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-07-05 09:48:24 -0700 |
commit | 0bc778f1b23d66e92f59206690929f48941f60d6 (patch) | |
tree | b1fbb783a97ca6e29c202cfe301203f5147fc972 | |
parent | 4f6c27de965e433d9e4acb963a5e02ac04ef35f5 (diff) |
Use UDEV_DATADIR variable for rules directory
-rw-r--r-- | acinclude.m4 | 3 | ||||
-rw-r--r-- | scripts/Makefile.am | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 47a94533..8b5b3695 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -110,6 +110,9 @@ AC_DEFUN([AC_INIT_BLUEZ], [ AC_SUBST(CONFIGDIR, "${configdir}") AC_SUBST(STORAGEDIR, "${storagedir}") + + UDEV_DATADIR="${sysconfdir}/udev/rules.d" + AC_SUBST(UDEV_DATADIR) ]) AC_DEFUN([AC_PATH_DBUS], [ diff --git a/scripts/Makefile.am b/scripts/Makefile.am index c3230737..1f4e5c28 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -1,6 +1,6 @@ if UDEVRULES -rulesdir = $(sysconfdir)/udev +rulesdir = @UDEV_DATADIR@ rules_DATA = 97-bluetooth.rules |