more mime-info and desktop files installed by autoconf

doing it this way is the correct way for debian and obsoletes tomb install
which we might want to keep anyway for non-package installations
This commit is contained in:
Jaromil 2011-01-19 19:28:29 +01:00
parent b40dcff457
commit a8850cd54a
5 changed files with 26 additions and 1 deletions

View File

@ -1,2 +1,8 @@
Applicationsdir = $(datadir)/applications
Applications_DATA = tomb.desktop
AppRegdir = $(datadir)/application-registry
AppReg_DATA = tomb.applications
MimeInfodir = $(datadir)/mime-info
MimeInfo_DATA = tomb.keys tomb.mime

7
share/tomb.applications Normal file
View File

@ -0,0 +1,7 @@
tomb
command=tomb-open
name=Tomb - Crypto Undertaker
can_open_multiple_files=false
expects_uris=false
requires_terminal=false
mime-types=application/x-tomb-volume,application/x-tomb-key

6
share/tomb.keys Normal file
View File

@ -0,0 +1,6 @@
# actions for encrypted tomb storage
application/x-tomb-volume:
open=tomb-open %f
view=tomb-open %f
icon-filename=monmort.xpm
short_list_application_ids_for_novice_user_level=tomb

6
share/tomb.mime Normal file
View File

@ -0,0 +1,6 @@
# mime type for encrypted tomb storage
application/x-tomb-volume
ext: tomb
application/x-tomb-key
ext: tomb.gpg

View File

@ -12,5 +12,5 @@ tomb_askpass_LDADD = @GTK2_LIBS@
tomb_askpass_CFLAGS = @GTK2_CFLAGS@
EXTRA_DIST = monmort.xpm
pixmapdir = $(prefix)/share/pixmaps
pixmapdir = $(datadir)/pixmaps
pixmap_DATA = monmort.xpm