## Process this file with automake to produce Makefile.in
-desktopdir = $(datadir)/applications
-desktop_in_files = glabels.desktop.in
-desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
+DESKTOP_IN_FILES = glabels.desktop.in
+DESKTOP_FILES =$(DESKTOP_IN_FILES:.desktop.in=.desktop)
+
+desktopdir = $(datadir)/applications
+desktop_DATA = $(DESKTOP_FILES)
+
+@INTLTOOL_KEYS_RULE@
+
+KEYS_IN_FILES=glabels.keys.in
+KEYS_FILES = $(KEYS_IN_FILES:.keys.in=.keys)
+
+mimedir = $(datadir)/mime-info
+mime_DATA = $(KEYS_FILES) glabels.mime
+
+appdir = $(datadir)/application-registry
+app_DATA = glabels.applications
+
runtime_files = \
glabels-2.0.dtd \
paper-sizes.xml \
misc-iso-templates.xml
EXTRA_DIST = \
- $(desktop_DATA) \
+ $(DESKTOP_IN_FILES) \
+ $(KEYS_IN_FILES) \
+ $(mime_DATA) \
+ $(app_DATA) \
$(runtime_files)
configdir=$(datadir)/glabels
fi \
done
+CLEANFILES = $(KEY_FILES) $(DESKTOP_FILES)
+
--- /dev/null
+glabels
+ command=glabels
+ name=gLabels
+ can_open_multiple_files=true
+ expects_uris=false
+ requires_terminal=false
+ mime_types=application/x-glabels
+ uses_gnomevfs=false
+
--- /dev/null
+application/x-glabels:
+ open=glabels %f
+ description=gLabels Project File
+ icon_filename=glabels.png
+ default_action_type=application
+ category=Documents
+ short_list_application_ids_for_novice_user_level=glabels
+ short_list_application_ids_for_intermediate_user_level=glabels
+ short_list_application_ids_for_advanced_user_level=glabels
glabels-logo.png \
glabels-about-logo.png
-EXTRA_DIST = $(glabels_pixmaps_DATA)
+glabels_mime_icondir = $(datadir)/pixmaps
+
+glabels_mime_icon_DATA = glabels.png
+
+EXTRA_DIST = $(glabels_pixmaps_DATA) \
+ $(glabels_mime_icon_DATA)