summaryrefslogtreecommitdiffstats
path: root/kolf
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-01-10 21:04:48 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-01-10 21:05:02 +0100
commit97ee3d894020744ef5d0d016cef0bf78c45868d0 (patch)
tree1f2058fd03383c5be279680ee0bd4e770c58dd26 /kolf
parent43a80268949a4dd12a39695cb340b6e90c04dcaf (diff)
downloadtdegames-97ee3d894020744ef5d0d016cef0bf78c45868d0.tar.gz
tdegames-97ee3d894020744ef5d0d016cef0bf78c45868d0.zip
Compile MIME magic file
This partially resolves Bug 2217 Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 133cc7035dbdcaf812d8370f729530fa60547f92)
Diffstat (limited to 'kolf')
-rw-r--r--kolf/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/kolf/Makefile.am b/kolf/Makefile.am
index 943fbb0f..162f2350 100644
--- a/kolf/Makefile.am
+++ b/kolf/Makefile.am
@@ -41,9 +41,14 @@ applicationmimedir = $(kde_mimedir)/application
applicationmime_DATA = x-kourse.desktop x-kolf.desktop
magicdir = $(kde_confdir)/magic
-magic_DATA = kolf.magic
+magic_DATA = kolf.magic kolf.magic.mgc
METASOURCES = AUTO
messages: rc.cpp game.h floater.h slope.h
$(XGETTEXT) *.cpp canvasitem.h game.h -o $(podir)/kolf.pot
+
+SUFFIXES = .magic .magic.mgc
+
+.magic.magic.mgc:
+ (cd `dirname $@` && file -C -m $<)