[gnome-online-accounts] build: Install the D-Bus service files only when the backend is enabled



commit 8e8c59509e366ca85cd2a704dc220262c91c7540
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Oct 3 18:01:59 2017 +0200

    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.

 data/Makefile.am |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index e4277bc..fc58d03 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -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)                           \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]