chiark / gitweb /
udev-acl: Manage hplip device permissions
[elogind.git] / extras / udev-acl / Makefile.am
1 include $(top_srcdir)/Makefile.am.inc
2
3 libexec_PROGRAMS = \
4         udev-acl
5
6 udev_acl_SOURCES = \
7         udev-acl.c
8
9 udev_acl_CPPFLAGS = \
10         $(AM_CPPFLAGS) $(GLIB_CFLAGS)
11
12 udev_acl_LDADD = \
13         -lacl $(top_builddir)/libudev/libudev.la $(GLIB_LIBS)
14
15 dist_udevrules_DATA = 70-acl.rules
16
17 install-exec-hook:
18         mkdir -p $(DESTDIR)$(prefix)/lib/ConsoleKit/run-session.d
19         ln -sf $(libexecdir)/udev-acl $(DESTDIR)$(prefix)/lib/ConsoleKit/run-session.d/udev-acl.ck