[gnome-online-accounts] build: Don't install the GSettings schema when the backend is disabled



commit 2fda65d90017f6f09a679312a6e248e2e396f94e
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Jul 18 19:39:18 2018 +0200

    build: Don't install the GSettings schema when the backend is disabled
    
    The GSettings is only used by the backend to determine which providers
    to load.

 data/Makefile.am | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 286dcd05..e3608a12 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -3,9 +3,10 @@ NULL =
 
 SUBDIRS = icons
 
-gsettings_SCHEMAS = org.gnome.online-accounts.gschema.xml
+gsettings_schema_files = org.gnome.online-accounts.gschema.xml
 
 if BUILD_BACKEND
+gsettings_SCHEMAS = $(gsettings_schema_files)
 @GSETTINGS_RULES@
 
 servicedir       = $(datadir)/dbus-1/services
@@ -21,7 +22,7 @@ service_DATA     = $(service_in_files:.service.in=.service)
 endif
 
 EXTRA_DIST =                                           \
-       $(gsettings_SCHEMAS)                            \
+       $(gsettings_schema_files)                       \
        dbus-interfaces.xml                             \
        org.gnome.Identity.service.in                   \
        org.gnome.OnlineAccounts.service.in             \


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