summaryrefslogtreecommitdiffstats
path: root/kexi/data/trinity4compat/Makefile.am
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-01-10 20:24:08 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-01-10 20:24:08 +0100
commit795e52bf4b82406fabdd6f5abdfb59a625779e1a (patch)
treecd3070049a59c16e046a55664001d13a21279774 /kexi/data/trinity4compat/Makefile.am
parent0c09c41f99f50da12e6a13357683679f1d0bc9c1 (diff)
downloadkoffice-795e52bf4b82406fabdd6f5abdfb59a625779e1a.tar.gz
koffice-795e52bf4b82406fabdd6f5abdfb59a625779e1a.zip
Compile MIME magic file
This partially resolves Bug 2217 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kexi/data/trinity4compat/Makefile.am')
-rw-r--r--kexi/data/trinity4compat/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/kexi/data/trinity4compat/Makefile.am b/kexi/data/trinity4compat/Makefile.am
index 89c03dc0..5a98c376 100644
--- a/kexi/data/trinity4compat/Makefile.am
+++ b/kexi/data/trinity4compat/Makefile.am
@@ -4,7 +4,12 @@ application_DATA = \
applicationdir = $(kde_mimedir)/application
-magic_DATA = sqlite.magic msaccess.magic
+magic_DATA = sqlite.magic sqlite.magic.mgc msaccess.magic msaccess.magic.mgc
magicdir = $(kde_confdir)/magic
EXTRA_DIST = $(application_DATA)
+
+SUFFIXES = .magic .magic.mgc
+
+.magic.magic.mgc:
+ (cd `dirname $@` && file -C -m $<)