Commit 8e8c5950 authored by Debarshi Ray's avatar Debarshi Ray

build: Install the D-Bus service files only when the backend is enabled

The binaries corresponding to the D-Bus services are not installed
when the backend is disabled, so these service files are useless.
parent 652dcc51
......@@ -9,7 +9,6 @@ if BUILD_BACKEND
gsettings_SCHEMAS = $(gsettings_in_files:.xml.in=.xml)
@INTLTOOL_XML_RULE@
@GSETTINGS_RULES@
endif
servicedir = $(datadir)/dbus-1/services
service_in_files = org.gnome.OnlineAccounts.service.in
......@@ -19,9 +18,9 @@ service_in_files += org.gnome.Identity.service.in
endif
service_DATA = $(service_in_files:.service.in=.service)
%.service: %.service.in Makefile
@sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
endif
EXTRA_DIST = \
$(gsettings_in_files) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment