aboutsummaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-08-25 08:58:54 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-08-25 08:58:54 -0400
commitce36ed0c35e58f0244a090250ab7f96b8e5915ac (patch)
treeccf1ca910dac9a7cf89d3889ad3798dddd0dd89a /data/Makefile.am
parent7cb790290cb874e06deca13497eed34079b4fb8c (diff)
parent29d61ee432bcb4351b0d9cf1084e6b9fec7f1707 (diff)
downloadayatana-indicator-session-ce36ed0c35e58f0244a090250ab7f96b8e5915ac.tar.gz
ayatana-indicator-session-ce36ed0c35e58f0244a090250ab7f96b8e5915ac.tar.bz2
ayatana-indicator-session-ce36ed0c35e58f0244a090250ab7f96b8e5915ac.zip
Import upstream version 0.3.3
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am49
1 files changed, 27 insertions, 22 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 1f522d7..7e851a7 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -9,37 +9,42 @@ dbus_services_DATA = $(service_in_files:.service.in=.service)
%.service: %.service.in
sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
-##############################
-# GConf Schema
-##############################
+@INTLTOOL_SCHEMAS_RULE@
+@INTLTOOL_XML_NOMERGE_RULE@
-schemadir = \
- $(GCONF_SCHEMA_FILE_DIR)
+@GSETTINGS_RULES@
+gsettings_SCHEMAS = com.canonical.indicator.session.gschema.xml
-schema_in_files = \
- indicator-session.schemas.in
+convertdir = $(datadir)/GConf/gsettings
+dist_convert_DATA = indicator-session.convert
-schema_DATA = \
- $(schema_in_files:.schemas.in=.schemas)
+@INTLTOOL_DESKTOP_RULE@
-@INTLTOOL_SCHEMAS_RULE@
+%.desktop.in: %.desktop.in.in
+ sed \
+ -e "s|\@libexecdir\@|$(libexecdir)|" \
+ -e "s|\@bindir\@|$(bindir)|" \
+ $< > $@
+logout_helper_desktop_in_in_files = \
+ indicator-session-lock-screen.desktop.in.in \
+ indicator-session-logout.desktop.in.in \
+ indicator-session-restart.desktop.in.in \
+ indicator-session-shutdown.desktop.in.in
-#$(dbus_services_DATA): $(service_in_files) Makefile
-# sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+logout_helperdir = $(datadir)/applications
+logout_helper_desktop_files = \
+ $(logout_helper_desktop_in_in_files:.desktop.in.in=.desktop)
+logout_helper_DATA = $(logout_helper_desktop_files)
EXTRA_DIST = \
$(service_in_files) \
- $(schema_in_files)
+ $(gsettings_SCHEMAS:.xml=.xml.in) \
+ $(logout_helper_desktop_in_in_files)
+
CLEANFILES = \
$(dbus_services_DATA) \
- $(schema_DATA)
-
-if GCONF_SCHEMAS_INSTALL
-install-data-local:
- GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
- gconftool-2 --makefile-install-rule $(schema_DATA)
-else
-install-data-local:
-endif
+ $(gsettings_SCHEMAS) \
+ $(logout_helper_desktop_files)
+