mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
* #11581: gnome: build local glib-schema
This commit is contained in:
@ -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)
|
||||
|
@ -74,6 +74,7 @@ tests/Makefile
|
||||
man/Makefile
|
||||
po/Makefile
|
||||
doc/Makefile
|
||||
data/Makefile
|
||||
])
|
||||
AC_OUTPUT
|
||||
|
||||
|
14
gnome/data/Makefile.am
Normal file
14
gnome/data/Makefile.am
Normal 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
|
Reference in New Issue
Block a user