build system now installs the .desktop file

This commit is contained in:
Jaromil 2011-01-13 22:36:15 +01:00
parent 542bcb1577
commit dd71ddc57a
6 changed files with 20 additions and 10 deletions

View File

@ -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

2
share/Makefile.am Normal file
View File

@ -0,0 +1,2 @@
Applicationsdir = $(datadir)/applications
Applications_DATA = tomb.desktop

13
share/tomb.desktop Normal file
View File

@ -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

View File

@ -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

View File

@ -1,4 +0,0 @@
# mime type for encrypted tomb storage
application/x-tomb
ext: tomb

View File

@ -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