Merge commit 'git-svn'
[anjuta-git-plugin.git] / scripts / build-schemas.mk
blob2c25437b4a825957b3c072697954d0cba8fc4906
1 # Targets for handing glade-to-GConf schema conversion for prefs keys
3 prefs_glade_schemasdir = @GCONF_SCHEMA_FILE_DIR@
4 prefs_glade_schemas_DATA = $(prefs_glade_files:.glade=.schemas)
6 %.schemas: %.glade
7 $(top_srcdir)/scripts/glade2schema.pl $(srcdir)/$(?) > $(@)
9 if GCONF_SCHEMAS_INSTALL
10 install-data-local:
11 for p in $(prefs_glade_schemas) ; do \
12 GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $$p ; \
13 done
14 @killall -1 gconfd-2 || true
16 uninstall-local:
17 for p in $(prefs_glade_schemas) ; do \
18 GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-uninstall-rule $$p ; \
19 done
20 @killall -1 gconfd-2 || true
22 else
23 install-data-local:
25 uninstall-local:
26 endif
28 CLEANFILES = prefs_glade_schemas