Add mime files for gnucash.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3209 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2000-11-29 10:33:36 +00:00
parent 9e75d61719
commit 8854cbaf16
4 changed files with 30 additions and 2 deletions

View File

@ -9,3 +9,4 @@ glade-support-gnc-dialogs.c
#glade-cb-gnc-dialogs.h
#glade-gnc-dialogs.h
#glade-support-gnc-dialogs.h
gnucash.keys

View File

@ -43,6 +43,11 @@ gnomeappdir = ${datadir}/gnome/apps/Applications
gnomeapp_DATA = gnucash.desktop
appicondir = $(datadir)/pixmaps
mimedir = $(datadir)/mime-info
mime_DATA = gnucash.keys gnucash.mime
noinst_HEADERS = \
account-tree.h \
cursors.h \
@ -92,9 +97,14 @@ GLADE_FILES = \
EXTRA_DIST = \
.cvsignore \
gnc-dialogs.glade \
gnucash.desktop
gnucash.desktop \
gnucash.keys.in \
gnucash.mime
CFLAGS = @CFLAGS@ ${G_WRAP_COMPILE_ARGS} ${GNOME_PRINT_CFLAGS} ${GTKHTML_CFLAGS}
CFLAGS = @CFLAGS@ \
${G_WRAP_COMPILE_ARGS} \
${GNOME_PRINT_CFLAGS} \
${GTKHTML_CFLAGS}
INCLUDES = \
-I${top_srcdir}/src \
@ -106,3 +116,15 @@ INCLUDES = \
-I${top_srcdir}/src/register/gnome \
${GNOME_INCLUDEDIR} \
${GUILE_INCS}
## We borrow guile's convention and use @-...-@ as the substitution
## brackets here, instead of the usual @...@. This prevents autoconf
## from substituting the values directly into the left-hand sides of
## the sed substitutions.
gnucash.keys: gnucash.keys.in
rm -f $@.tmp
sed < $@.in > $@.tmp \
-e 's:@-icondir-@:${appicondir}:g'
chmod +x $@.tmp
mv $@.tmp $@

View File

@ -0,0 +1,3 @@
application/x-gnucash:
open=gnucash %f
view=gnucash %f

2
src/gnome/gnucash.mime Normal file
View File

@ -0,0 +1,2 @@
application/x-gnucash
ext: xac gnc gnucash