summaryrefslogtreecommitdiffstats
path: root/kexi/data/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/data/Makefile.am')
-rw-r--r--kexi/data/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/kexi/data/Makefile.am b/kexi/data/Makefile.am
index 4df4637e..503301b5 100644
--- a/kexi/data/Makefile.am
+++ b/kexi/data/Makefile.am
@@ -32,7 +32,7 @@ servicetypes_DATA=kexihandler.desktop
#services_DATA=
magicdir = $(kde_confdir)/magic
-magic_DATA = kexi.magic
+magic_DATA = kexi.magic kexi.magic.mgc
mimetypedir = $(kde_mimedir)/application
@@ -50,3 +50,8 @@ if need_trinity4_compatibility
endif
SUBDIRS = $(KDE34COMPAT)
+
+SUFFIXES = .magic .magic.mgc
+
+.magic.magic.mgc:
+ (cd `dirname $@` && file -C -m $<)