* #11581: gnome: build local glib-schema

This commit is contained in:
Tristan Matthews
2012-08-27 16:42:14 -04:00
parent e4c4393232
commit 9700057cd5
3 changed files with 16 additions and 10 deletions

View File

@ -1,4 +1,4 @@
SUBDIRS = src pixmaps tests man po doc
SUBDIRS = src pixmaps tests man po doc data
CFLAGS=-Wall -Werror -Wextra
@ -9,11 +9,6 @@ GNOME_DOC=gnome-doc-utils.make
uidir=$(datadir)/sflphone/ui
ui_DATA=src/ui.xml
@INTLTOOL_XML_NOMERGE_RULE@
gsettings_in_file = data/org.sflphone.SFLphone.gschema.xml.in
gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
@GSETTINGS_RULES@
dist_noinst_DATA = $(gsettings_in_file)
EXTRA_DIST = sflphone.desktop.in $(GNOME_DOC) m4 $(ui_DATA) $(apps_DATA)
@ -21,8 +16,4 @@ appsdir = $(datadir)/applications
apps_in_files = sflphone.desktop.in
apps_DATA = $(apps_in_files:.desktop.in=.desktop)
CLEANFILES = $(gsettings_SCHEMAS)
MAINTAINERCLEANFILES = $(gsettings_SCHEMAS:.xml=.valid)
DISTCLEANFILES= sflphone.desktop $(GNOME_DOC)

View File

@ -74,6 +74,7 @@ tests/Makefile
man/Makefile
po/Makefile
doc/Makefile
data/Makefile
])
AC_OUTPUT

14
gnome/data/Makefile.am Normal file
View File

@ -0,0 +1,14 @@
@INTLTOOL_XML_NOMERGE_RULE@
gsettings_in_file = org.sflphone.SFLphone.gschema.xml.in
gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
@GSETTINGS_RULES@
CLEANFILES = $(gsettings_SCHEMAS)
MAINTAINERCLEANFILES = $(gsettings_SCHEMAS:.xml=.valid)
#FIXME: is there a way to avoid calling this every time we do make?
all-local: $(gsettings_SCHEMAS)
$(MKDIR_P) glib-2.0/schemas
$(GLIB_COMPILE_SCHEMAS) . --targetdir glib-2.0/schemas