From c9de60162ed2c57b373b6508b2d53f9a804dc9b6 Mon Sep 17 00:00:00 2001 From: Sanel Zukan Date: Fri, 6 Mar 2009 14:15:32 +0000 Subject: [PATCH] Added rule for installing D-BUS service files --- Jamconfig.in | 4 ++++ build/Install.jam | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/Jamconfig.in b/Jamconfig.in index 8db65fc..6e615d0 100644 --- a/Jamconfig.in +++ b/Jamconfig.in @@ -96,5 +96,9 @@ X_LIBS ?= @X_LIBS@ ; X_PRE_LIBS ?= @X_PRE_LIBS@ ; X_EXTRA_LIBS ?= @X_EXTRA_LIBS@ ; +# directory where D-Bus service files exists; this is mostly default location and if other +# place was choosen, /etc/dbus-1/session-local.conf must be updated too +DBUS_SERVICE_DIR ?= "/usr/share/dbus-1/services" ; + # do not touch this JAMCONFIG_READ = "yes" ; diff --git a/build/Install.jam b/build/Install.jam index a2c0e29..5e3f66c 100644 --- a/build/Install.jam +++ b/build/Install.jam @@ -160,6 +160,13 @@ rule InstallEdeDoc InstallData $(EDE_DOC_DIR) : $(1) ; } +# InstallDbusService [targets] ; +# Installs D-BUS service targets to D-BUS known directory +rule InstallDbusService +{ + InstallData $(DBUS_SERVICE_DIR) : $(1) ; +} + actions Install1 { $(CP) "$(>)" "$(<)"