diff options
-rw-r--r-- | kexi/data/Makefile.am | 7 | ||||
-rw-r--r-- | kexi/data/trinity4compat/Makefile.am | 7 |
2 files changed, 12 insertions, 2 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 $<) 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 $<) |