diff options
Diffstat (limited to 'extras/udev-acl/Makefile.am')
-rw-r--r-- | extras/udev-acl/Makefile.am | 18 |
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 |