summaryrefslogtreecommitdiff
path: root/mate-window-picker-applet/Makefile.am
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-11-13 12:12:33 +0100
committerStefano Karapetsas <[email protected]>2012-11-13 12:12:33 +0100
commit0f3f63d973b8084e936dccad13ccf4f683ec0ce8 (patch)
treed54d84ba0ef5aac6503f4c569d8a8a5ed2419e00 /mate-window-picker-applet/Makefile.am
parent7b5a0590dec1342bc64b4d3372498ded5a7d06ac (diff)
downloadmate-netbook-0f3f63d973b8084e936dccad13ccf4f683ec0ce8.tar.bz2
mate-netbook-0f3f63d973b8084e936dccad13ccf4f683ec0ce8.tar.xz
mate-window-picker-applet: migrate to gsettings
Diffstat (limited to 'mate-window-picker-applet/Makefile.am')
-rw-r--r--mate-window-picker-applet/Makefile.am14
1 files changed, 8 insertions, 6 deletions
diff --git a/mate-window-picker-applet/Makefile.am b/mate-window-picker-applet/Makefile.am
index 20b39bd..74d642b 100644
--- a/mate-window-picker-applet/Makefile.am
+++ b/mate-window-picker-applet/Makefile.am
@@ -45,10 +45,12 @@ org.mate.panel.applet.MateWindowPickerFactory.service: $(service_in_files)
-e "s|\@LOCATION\@|$(APPLET_LOCATION)|" \
$< > $@
-schemasdir = @MATECONF_SCHEMA_FILE_DIR@
-schemas_in_files = mate-window-picker-applet.schemas.in
-schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
-@INTLTOOL_SCHEMAS_RULE@
+@INTLTOOL_XML_NOMERGE_RULE@
+gsettings_SCHEMAS = org.mate.panel.applet.mate-window-picker-applet.gschema.xml
+@GSETTINGS_RULES@
+
+%.gschema.xml.in: %.gschema.xml.in.in Makefile
+ $(AM_V_GEN) $(SED) -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@
xmluidir = $(datadir)/mate-panel/ui
xmlui_DATA = mate-window-picker-applet-menu.xml
@@ -57,9 +59,9 @@ EXTRA_DIST = \
org.mate.panel.MateWindowPicker.panel-applet.in.in \
$(service_in_files) \
$(ui_DATA) \
- $(schemas_in_files)
+ $(gsettings_SCHEMAS_in_in)
-CLEANFILES = $(applet_DATA) $(applet_DATA).in $(service_DATA) $(schemas_DATA)
+CLEANFILES = $(applet_DATA) $(applet_DATA).in $(service_DATA) $(gsettings_SCHEMAS_in) $(gsettings_SCHEMAS)
clean:
rm -f $(desktop_DATA) $(desktop_DATA).in $(server_DATA) $(server_DATA).in