summaryrefslogtreecommitdiff
path: root/multiload/Makefile.am
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-11-24 18:24:14 +0100
committerStefano Karapetsas <[email protected]>2012-11-24 18:24:14 +0100
commit167eb3ed1e82658e6ea969a8c5ffd220256cfd11 (patch)
treef94e916e9cfbf8abb7eccdecf38fa311fe732a16 /multiload/Makefile.am
parent3e890433f60a9af8b0a414fb8b06277b24391fde (diff)
downloadmate-applets-167eb3ed1e82658e6ea969a8c5ffd220256cfd11.tar.bz2
mate-applets-167eb3ed1e82658e6ea969a8c5ffd220256cfd11.tar.xz
multiload: migrate to gsettings
replace libmate with GIO
Diffstat (limited to 'multiload/Makefile.am')
-rw-r--r--multiload/Makefile.am22
1 files changed, 9 insertions, 13 deletions
diff --git a/multiload/Makefile.am b/multiload/Makefile.am
index f3901510..fd75c8ff 100644
--- a/multiload/Makefile.am
+++ b/multiload/Makefile.am
@@ -3,7 +3,7 @@ SUBDIRS = docs
INCLUDES = \
-I$(srcdir) \
-DMULTILOAD_MENU_UI_DIR=\""$(uidir)"\" \
- $(MATE_APPLETS3_CFLAGS) \
+ $(MATE_APPLETS4_CFLAGS) \
$(GTOP_APPLETS_CFLAGS) \
$(MATEDESKTOP_CFLAGS)
@@ -22,21 +22,22 @@ multiload_applet_2_SOURCES = \
autoscaler.h
multiload_applet_2_LDADD = \
- $(MATE_APPLETS3_LIBS) \
+ $(MATE_APPLETS4_LIBS) \
$(GTOP_APPLETS_LIBS) \
$(MATEDESKTOP_LIBS) \
-lm
-schemasdir = @MATECONF_SCHEMA_FILE_DIR@
-schemas_in_files = multiload.schemas.in
-schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
+@INTLTOOL_XML_NOMERGE_RULE@
+gsettings_SCHEMAS = org.mate.panel.applet.multiload.gschema.xml
+@GSETTINGS_RULES@
-@INTLTOOL_SCHEMAS_RULE@
+%.gschema.xml.in: %.gschema.xml.in.in Makefile
+ $(AM_V_GEN) $(SED) -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@
EXTRA_DIST = \
org.mate.applets.MultiLoadApplet.mate-panel-applet.in.in \
$(service_in_files) \
- $(schemas_in_files) \
+ $(gsettings_SCHEMAS_in_in) \
$(ui_DATA)
uidir = $(datadir)/mate-2.0/ui
@@ -63,11 +64,6 @@ org.mate.panel.applet.MultiLoadAppletFactory.service: $(service_in_files)
-e "s|\@LIBEXECDIR\@|$(libexecdir)|" \
$< > $@
-CLEANFILES = $(applet_DATA) $(applet_DATA).in $(service_DATA) $(schemas_DATA)
-
-if MATECONF_SCHEMAS_INSTALL
-install-data-local:
- MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule $(schemas_DATA) ;
-endif
+CLEANFILES = $(applet_DATA) $(applet_DATA).in $(service_DATA) $(gsettings_SCHEMAS_in) $(gsettings_SCHEMAS) *.gschema.valid
-include $(top_srcdir)/git.mk