diff options
author | Slávek Banko <[email protected]> | 2016-01-10 20:24:08 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-01-10 20:24:22 +0100 |
commit | 35de8d1a557190aed5f9e9596d98dbb064632db8 (patch) | |
tree | f484232811aeaef47b6c64afaf6bb016097a7336 /kexi/data/Makefile.am | |
parent | fac1196282efaaf667515e87e5cbf13d2973164b (diff) | |
download | koffice-35de8d1a557190aed5f9e9596d98dbb064632db8.tar.gz koffice-35de8d1a557190aed5f9e9596d98dbb064632db8.zip |
Compile MIME magic file
This partially resolves Bug 2217
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 795e52bf4b82406fabdd6f5abdfb59a625779e1a)
Diffstat (limited to 'kexi/data/Makefile.am')
-rw-r--r-- | kexi/data/Makefile.am | 7 |
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 $<) |