Commit 2fda65d9 authored by Debarshi Ray's avatar Debarshi Ray

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.
parent c6efa2d8
......@@ -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 \
......
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