summaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: 037672c5e12f43403d7f301c1bd48902cf59c826 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SUBDIRS = icons

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
# to run from source tree
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_real)	\
	$(NULL)

DISTCLEANFILES = 		\
	$(schemas_DATA)		\
	gschemas.compiled	\
	$(NULL)