[glick2] Add autostart file



commit b3e64b3961698c5991247f69602a5eae37fc29a9
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Oct 13 16:01:24 2011 +0200

    Add autostart file

 Makefile.am      |   12 +++++++++++-
 glick.desktop.in |    7 +++++++
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index d5ad777..2e07f88 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -108,5 +108,15 @@ glick2.conf: Makefile glick2.conf.in
 	  $(edit) $${srcdir}$  in >$  tmp
 	mv $  tmp $@
 
+# Autostart file
+desktopdir = $(sysconfdir)/xdg/autostart
+desktop_DATA = glick.desktop
 
-EXTRA_DIST=glick2.conf.in
+glick.desktop: Makefile glick.desktop.in
+	rm -f $@ $  tmp
+	srcdir=''; \
+	  test -f ./$  in || srcdir=$(srcdir)/; \
+	  $(edit) $${srcdir}$  in >$  tmp
+	mv $  tmp $@
+
+EXTRA_DIST=glick2.conf.in glick.desktop.in
diff --git a/glick.desktop.in b/glick.desktop.in
new file mode 100644
index 0000000..ef436d1
--- /dev/null
+++ b/glick.desktop.in
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Version=1.0
+Name=Glick filesystem
+Exec= bindir@/glick-fs
+StartupNotify=false
+Type=Application
+Categories=System;Utility;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]