summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-01-08 18:10:39 +0800
committerKay Sievers <kay@vrfy.org>2014-01-08 18:11:37 +0800
commit2b197ae21c4a3571024fba1886eeeb87c0dfcf03 (patch)
tree8f7575622290de596dcd32456a199963f42b9890 /Makefile.am
parent8b255ecd99dfee4e27b40a075b15d1e117f819fa (diff)
dbus1-generator: install user version
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 725a37563a..9836eb841e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1782,6 +1782,15 @@ systemd_dbus1_generator_LDADD = \
libsystemd-shared.la \
libsystemd-bus-internal.la
+dbus1-generator-install-hook:
+ $(AM_V_LN)$(LN_S) -f $(systemgeneratordir)/systemd-dbus1-generator $(DESTDIR)$(usergeneratordir)/systemd-dbus1-generator
+
+dbus1-generator-uninstall-hook:
+ rm -f $(DESTDIR)$(usergeneratordir)/systemd-dbus1-generator
+
+INSTALL_EXEC_HOOKS += dbus1-generator-install-hook
+UNINSTALL_EXEC_HOOKS += dbus1-generator-uninstall-hook
+
# ------------------------------------------------------------------------------
systemd_rc_local_generator_SOURCES = \
src/rc-local-generator/rc-local-generator.c