summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 $<)