summaryrefslogtreecommitdiffstats
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:04:48 +0100
commit133cc7035dbdcaf812d8370f729530fa60547f92 (patch)
tree0ee45811caf61972aac23c1cea962cbdbfea5569
parentb24020e8f9a4893958db09fd8c7f6b048156b74d (diff)
downloadtdegames-133cc7035dbdcaf812d8370f729530fa60547f92.tar.gz
tdegames-133cc7035dbdcaf812d8370f729530fa60547f92.zip
Compile MIME magic file
This partially resolves Bug 2217 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-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 $<)