diff options
author | Stefano Karapetsas <[email protected]> | 2012-11-24 18:18:51 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-11-24 18:18:51 +0100 |
commit | 8c30f31702202aed1b7e8c21b204a44ac2dc37cc (patch) | |
tree | 57d8a94324b6f320e9d4848b3fc7012217487ba4 /cpufreq/Makefile.am | |
parent | d2d15da67e19e821d051d1b2382885854acd140c (diff) | |
download | mate-applets-8c30f31702202aed1b7e8c21b204a44ac2dc37cc.tar.bz2 mate-applets-8c30f31702202aed1b7e8c21b204a44ac2dc37cc.tar.xz |
cpufreq: migrate to gsettings
Diffstat (limited to 'cpufreq/Makefile.am')
-rw-r--r-- | cpufreq/Makefile.am | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/cpufreq/Makefile.am b/cpufreq/Makefile.am index f2b4f80e..e6a63607 100644 --- a/cpufreq/Makefile.am +++ b/cpufreq/Makefile.am @@ -1,10 +1,11 @@ SUBDIRS = help pixmaps src -schemasdir = @MATECONF_SCHEMA_FILE_DIR@ -schemas_in_files = cpufreq-applet.schemas.in -schemas_DATA = $(schemas_in_files:.schemas.in=.schemas) +@INTLTOOL_XML_NOMERGE_RULE@ +gsettings_SCHEMAS = org.mate.panel.applet.cpufreq.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' < $< > $@ appletdir = $(datadir)/mate-panel/applets applet_in_files = org.mate.applets.CPUFreqApplet.mate-panel-applet.in @@ -32,23 +33,20 @@ builder_DATA = cpufreq-preferences.ui uidir = $(datadir)/mate-2.0/ui ui_DATA = cpufreq-applet-menu.xml -if MATECONF_SCHEMAS_INSTALL -install-data-local: - -MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule $(top_builddir)/cpufreq/$(schemas_DATA) ; -endif - CLEANFILES = \ $(applet_DATA) \ $(applet_DATA).in \ $(service_DATA) \ - cpufreq-applet.schemas \ + $(gsettings_SCHEMAS_in) \ + $(gsettings_SCHEMAS) \ + *.gschema.valid \ *.bak \ *.gladep EXTRA_DIST = \ org.mate.applets.CPUFreqApplet.mate-panel-applet.in.in \ $(service_in_files) \ - $(schemas_in_files) \ + $(gsettings_SCHEMAS_in_in) \ $(builder_DATA) \ $(ui_DATA) |