Added rule for installing D-BUS service files

This commit is contained in:
Sanel Zukan 2009-03-06 14:15:32 +00:00
parent fb4d12d2ad
commit c9de60162e
2 changed files with 11 additions and 0 deletions

View File

@ -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" ;

View File

@ -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) "$(>)" "$(<)"