summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-01-10 20:04:48 (GMT)
committer Slávek Banko <slavek.banko@axis.cz>2016-01-10 20:04:48 (GMT)
commit133cc7035dbdcaf812d8370f729530fa60547f92 (patch)
tree0ee45811caf61972aac23c1cea962cbdbfea5569
parentb24020e8f9a4893958db09fd8c7f6b048156b74d (diff)
downloadtdegames-133cc703.zip
tdegames-133cc703.tar.gz
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 943fbb0..162f235 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 $<)