diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 433fb18b..037672c5 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,8 +1,13 @@ SUBDIRS = icons -gsettings_SCHEMAS = org.gnome.telepathy-account-widgets.gschema.xml +gsettings_SCHEMAS_real = org.gnome.telepathy-account-widgets.gschema.xml if ENABLE_SETTINGS +gsettings_SCHEMAS = $(gsettings_SCHEMAS_real) +else +gsettings_SCHEMAS = +endif + @GSETTINGS_RULES@ # We need to compile schemas at make time @@ -10,12 +15,13 @@ if ENABLE_SETTINGS gschemas.compiled: $(gsettings_SCHEMAS:.xml=.valid) $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --targetdir=. . +if ENABLE_SETTINGS all-local: gschemas.compiled endif EXTRA_DIST = \ $(schemas_DATA) \ - $(gsettings_SCHEMAS) \ + $(gsettings_SCHEMAS_real) \ $(NULL) DISTCLEANFILES = \ |