Fix distcheck
[anjuta-extras.git] / scripts / build-schemas.mk
blobd277158a78079c143c4542986c8f21891c6be606
1 # Targets for handing ui-to-GConf schema conversion for prefs keys
3 prefs_ui_schemas = $(prefs_ui_files:.ui=.gschema.xml)
5 # gsettings_SCHEMAS is a list of all the schemas you want to install
6 gsettings_SCHEMAS = $(prefs_name).gschema.xml
8 $(prefs_name).gschema.xml: $(prefs_ui_schemas)
9 mv -f $< $@
11 %.gschema.xml: %.ui
12 $(AM_V_GEN)$(top_srcdir)/scripts/builder2schema.pl $< $(prefs_name) $(prefs_keyfile:%=$(srcdir)/%) > $@
14 # include the appropriate makefile rules for schema handling
15 @GSETTINGS_RULES@
17 CLEANFILES = $(prefs_ui_schemas) $(gsettings_SCHEMAS)