aboutsummaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-08-23 11:10:02 -0500
committerTed Gould <ted@gould.cx>2011-08-23 11:10:02 -0500
commitefe088c4fc2fef11117012d088c96ddd418696bf (patch)
treee734e34daa764bfe801d1d5590f3183f41dac91f /data/Makefile.am
parentc4d38ac2f3589a83cbd9127c178da4926d5773aa (diff)
downloadayatana-indicator-session-efe088c4fc2fef11117012d088c96ddd418696bf.tar.gz
ayatana-indicator-session-efe088c4fc2fef11117012d088c96ddd418696bf.tar.bz2
ayatana-indicator-session-efe088c4fc2fef11117012d088c96ddd418696bf.zip
Adding a desktop file for shutting down
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am17
1 files changed, 15 insertions, 2 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 27328fb..f2cfee8 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -18,13 +18,26 @@ gsettings_SCHEMAS = com.canonical.indicator.session.gschema.xml
convertdir = $(datadir)/GConf/gsettings
dist_convert_DATA = indicator-session.convert
+@INTLTOOL_DESKTOP_RULE@
+
+%.desktop.in: %.desktop.in.in
+ sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+
+logout_helper_desktop_in_in_files = \
+ indicator-session-shutdown.desktop.in.in
+
+logout_helperdir = $(datadir)/applications
+logout_helper_desktop_files = \
+ $(logout_helper_desktop_in_in_files:.desktop.in.in=.desktop)
EXTRA_DIST = \
$(service_in_files) \
- $(gsettings_SCHEMAS:.xml=.xml.in)
+ $(gsettings_SCHEMAS:.xml=.xml.in) \
+ $(logout_helper_desktop_in_in_files)
CLEANFILES = \
$(dbus_services_DATA) \
- $(gsettings_SCHEMAS)
+ $(gsettings_SCHEMAS) \
+ $(logout_helper_desktop_files)