commit dd71ddc57af25bb2fa300b2b2221be891495cafa
parent 542bcb15774c3a6b86a12f5462c4d275ae8721bb
Author: Jaromil <jaromil@dyne.org>
Date: Thu, 13 Jan 2011 22:36:15 +0100
build system now installs the .desktop file
Diffstat:
6 files changed, 20 insertions(+), 10 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -94,6 +94,7 @@ dnl alphabetic order on dir/subdir, but Makefile sorts before everything
AC_CONFIG_FILES([
Makefile
src/Makefile
+share/Makefile
])
AC_OUTPUT
diff --git a/share/Makefile.am b/share/Makefile.am
@@ -0,0 +1,2 @@
+Applicationsdir = $(datadir)/applications
+Applications_DATA = tomb.desktop
diff --git a/share/tomb.desktop b/share/tomb.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Tomb crypto undertaker
+GenericName=Crypto undertaker
+Comment=Keep your bones safe
+Exec=tomb-open %U
+TryExec=tomb-open
+Icon=monmort.xpm
+Terminal=false
+Categories=Utility;Security;Archiving;Filesystem;
+MimeType=application/x-tomb-volume;
+EOF
diff --git a/share/tomb.keys b/share/tomb.keys
@@ -1,6 +0,0 @@
-# actions for encrypted tomb storage
-
-application/x-tomb:
- open=tomb auto %f
- view=tomb auto %f
- icon-filename=${prefix}/share/icons/tomb.png
diff --git a/share/tomb.mime b/share/tomb.mime
@@ -1,4 +0,0 @@
-# mime type for encrypted tomb storage
-
-application/x-tomb
- ext: tomb
diff --git a/src/Makefile.am b/src/Makefile.am
@@ -10,3 +10,7 @@ tomb_status_CXXFLAGS = @GTK2_CFLAGS@ @NOTIFY_CFLAGS@
tomb_notify_SOURCES = tomb-notify.cpp
tomb_notify_LDADD = @NOTIFY_LIBS@
tomb_notify_CXXFLAGS = @NOTIFY_CFLAGS@
+
+EXTRA_DIST = monmort.xpm
+pixmapdir = $(prefix)/share/pixmaps
+pixmap_DATA = monmort.xpm