aboutsummaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2013-10-28 17:15:33 -0700
committerTed Gould <ted@gould.cx>2013-10-28 17:15:33 -0700
commit83f4d6b7855edfa8db0951d22d429cbcec946c99 (patch)
treef30c606c643d607c5023a9374c210c2381f34ae2 /data/Makefile.am
parent26283de417c1c3cb3456f1a893fe339056517d56 (diff)
downloadayatana-indicator-datetime-83f4d6b7855edfa8db0951d22d429cbcec946c99.tar.gz
ayatana-indicator-datetime-83f4d6b7855edfa8db0951d22d429cbcec946c99.tar.bz2
ayatana-indicator-datetime-83f4d6b7855edfa8db0951d22d429cbcec946c99.zip
Add in support for XDG Autostart
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am13
1 files changed, 13 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 1875716..daaac51 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -31,6 +31,19 @@ CLEANFILES += $(upstart_jobs_DATA)
EXTRA_DIST += $(upstart_jobs_in)
#
+# the xdg autostart job file
+#
+
+xdg_autostartdir = /etc/xdg/autostart
+xdg_autostart_DATA = indicator-datetime.desktop
+xdg_autostart_in = $(xdg_autostart_DATA:.desktop=.desktop.in)
+$(xdg_autostart_DATA): $(xdg_autostart_in)
+ $(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+BUILT_SOURCES += $(xdg_autostart_DATA)
+CLEANFILES += $(xdg_autostart_DATA)
+EXTRA_DIST += $(xdg_autostart_in)
+
+#
# the gnome-control-center panel
#