* plugins/language-support-cpp-java/cpp-java-assist.c:
[anjuta-git-plugin.git] / scripts / build-schemas.mk
blobe6a9080598af265c7d4f33e8a80088a5af87c63d
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 build-schema-files:
7 for p in $(prefs_glade_files); do \
8 $(top_srcdir)/scripts/glade2schema.pl $(srcdir)/$$p > `basename $$p .glade`.schemas; \
9 done
11 if GCONF_SCHEMAS_INSTALL
12 install-data-local:
13 for p in $(prefs_glade_schemas) ; do \
14 GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $$p ; \
15 done
16 @killall -1 gconfd-2 || true
18 uninstall-local:
19 for p in $(prefs_glade_schemas) ; do \
20 GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-uninstall-rule $$p ; \
21 done
22 @killall -1 gconfd-2 || true
24 else
25 install-data-local:
27 uninstall-local:
28 endif
30 CLEANFILES = prefs_glade_schemas