summaryrefslogtreecommitdiff
path: root/extras/udev-acl
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-06-17 02:25:07 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-06-17 02:25:07 +0200
commit6133f3432fe86bc140cc9ba74794826f75c915fa (patch)
tree1199e3d6f005b66ea7b0d8b34d5ef323d7ee3cc0 /extras/udev-acl
parent29cf5b58be1a783157edc37d7151d86acbdd5732 (diff)
cleanup ./configure installation directory options
Diffstat (limited to 'extras/udev-acl')
-rw-r--r--extras/udev-acl/Makefile.am18
1 files changed, 11 insertions, 7 deletions
diff --git a/extras/udev-acl/Makefile.am b/extras/udev-acl/Makefile.am
index f1a5fbd6c1..7586bb01c1 100644
--- a/extras/udev-acl/Makefile.am
+++ b/extras/udev-acl/Makefile.am
@@ -1,15 +1,19 @@
include $(top_srcdir)/Makefile.am.inc
-udevhomedir = $(udev_prefix)/lib/udev
-udevhome_PROGRAMS = udev-acl
+libexec_PROGRAMS = \
+ udev-acl
-udev_acl_SOURCES = udev-acl.c
-udev_acl_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
-udev_acl_LDADD = -lacl $(top_builddir)/libudev/libudev.la $(GLIB_LIBS)
+udev_acl_SOURCES = \
+ udev-acl.c
+
+udev_acl_CPPFLAGS = \
+ $(AM_CPPFLAGS) $(GLIB_CFLAGS)
+
+udev_acl_LDADD = \
+ -lacl $(top_builddir)/libudev/libudev.la $(GLIB_LIBS)
-udevrulesdir = $(udev_prefix)/lib/udev/rules.d
dist_udevrules_DATA = 70-acl.rules
install-exec-hook:
mkdir -p $(DESTDIR)$(prefix)/lib/ConsoleKit/run-session.d
- ln -sf $(udevhomedir)/udev-acl $(DESTDIR)$(prefix)/lib/ConsoleKit/run-session.d/udev-acl.ck
+ ln -sf $(libexecdir)/udev-acl $(DESTDIR)$(prefix)/lib/ConsoleKit/run-session.d/udev-acl.ck