summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kig/mimetypes/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/kig/mimetypes/Makefile.am b/kig/mimetypes/Makefile.am
index 38387bfc..07bf7ff5 100644
--- a/kig/mimetypes/Makefile.am
+++ b/kig/mimetypes/Makefile.am
@@ -3,6 +3,11 @@ kdemime_DATA = x-kig.desktop x-kgeo.desktop x-kseg.desktop x-cabri.desktop x-drg
kdemimedir=$(kde_mimedir)/application
magicdir = $(kde_confdir)/magic
-magic_DATA = cabri.magic drgeo.magic
+magic_DATA = cabri.magic cabri.magic.mgc drgeo.magic drgeo.magic.mgc
KDE_ICON = AUTO
+
+SUFFIXES = .magic .magic.mgc
+
+.magic.magic.mgc:
+ (cd `dirname $@` && file -C -m $<)