From 68741c85411385462d136893901640e9c42d8b04 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sat, 7 Jan 2012 20:31:34 +0100 Subject: [PATCH] Install mime types directly --- Makefile.am | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index 02e137c..88df0b9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -70,10 +70,6 @@ dist_svgicon_DATA = xboard.svg Applicationsdir = $(datadir)/applications Applications_DATA = xboard.desktop -### mime definitions for association of fen, png and tourney files -Mimedir = $(datadir)/mime/packages -Mime_DATA = xboard.xml - ### directory and files for bitmaps bitmapsdir = $(datadir)/games/xboard/bitmaps/default @@ -179,7 +175,7 @@ install-data-hook: install-mime-database uninstall-hook: uninstall-mime-database install-mime-database: @-if test -z "$(DESTDIR)"; then \ - xdg-mime install --mode system --novendor $(Mimedir)/xboard.xml ;\ + xdg-mime install --mode system --novendor xboard.xml ;\ xdg-desktop-menu install --mode system --novendor xboard-pgn-viewer.desktop;\ xdg-desktop-menu install --mode system --novendor xboard-fen-viewer.desktop;\ xdg-desktop-menu install --mode system --novendor xboard-tourney.desktop;\ -- 1.7.0.4