Commit 339f5852 authored by Johannes Schmid's avatar Johannes Schmid

Fixed gschema build

parent 1519f11d
......@@ -58,7 +58,7 @@ libanjuta_build_basic_autotools_la_LIBADD = \
libanjuta_build_basic_autotools_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
prefs_name = org.gnome.anjuta.build-basic-autotools
prefs_name = org.gnome.anjuta.build
prefs_ui_files = anjuta-build-basic-autotools-plugin.ui
include $(top_srcdir)/scripts/build-schemas.mk
......
......@@ -30,8 +30,6 @@ libanjuta_starter_la_SOURCES= \
starter.h \
starter.c
include $(top_srcdir)/scripts/build-schemas.mk
EXTRA_DIST = \
$(plugin_in_files) \
$(starter_plugin_DATA) \
......
......@@ -44,6 +44,7 @@ libanjuta_terminal_la_LIBADD = \
$(LIBANJUTA_LIBS)
prefs_ui_files = anjuta-terminal-plugin.ui
prefs_name = org.gnome.anjuta.terminal
include $(top_srcdir)/scripts/build-schemas.mk
EXTRA_DIST = \
......
......@@ -3,7 +3,10 @@
prefs_ui_schemas = $(prefs_ui_files:.ui=.gschema.xml)
# gsettings_SCHEMAS is a list of all the schemas you want to install
gsettings_SCHEMAS = $(prefs_ui_schemas)
gsettings_SCHEMAS = $(prefs_name).gschema.xml
$(prefs_name).gschema.xml: $(prefs_ui_schemas)
mv $< $@
%.gschema.xml: %.ui
$(AM_V_GEN)$(top_srcdir)/scripts/builder2schema.pl $< $(prefs_name) $(prefs_keyfile) >> $@
......@@ -11,4 +14,4 @@ gsettings_SCHEMAS = $(prefs_ui_schemas)
# include the appropriate makefile rules for schema handling
@GSETTINGS_RULES@
CLEANFILES = $(prefs_ui_schemas)
CLEANFILES = $(prefs_ui_schemas) $(gsettings_SCHEMAS)
......@@ -51,6 +51,7 @@ anjuta_LDADD = \
anjuta_LDFLAGS = $(ANJUTA_LDFLAGS)
prefs_ui_files = preferences.ui
prefs_name = org.gnome.anjuta
prefs_keyfile = anjuta.gschema-part.xml
include $(top_srcdir)/scripts/build-schemas.mk
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment