Compile MIME magic file

This partially resolves Bug 2217

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 9 years ago
parent 0c09c41f99
commit 795e52bf4b

@ -32,7 +32,7 @@ servicetypes_DATA=kexihandler.desktop
#services_DATA= #services_DATA=
magicdir = $(kde_confdir)/magic magicdir = $(kde_confdir)/magic
magic_DATA = kexi.magic magic_DATA = kexi.magic kexi.magic.mgc
mimetypedir = $(kde_mimedir)/application mimetypedir = $(kde_mimedir)/application
@ -50,3 +50,8 @@ if need_trinity4_compatibility
endif endif
SUBDIRS = $(KDE34COMPAT) SUBDIRS = $(KDE34COMPAT)
SUFFIXES = .magic .magic.mgc
.magic.magic.mgc:
(cd `dirname $@` && file -C -m $<)

@ -4,7 +4,12 @@ application_DATA = \
applicationdir = $(kde_mimedir)/application 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 magicdir = $(kde_confdir)/magic
EXTRA_DIST = $(application_DATA) EXTRA_DIST = $(application_DATA)
SUFFIXES = .magic .magic.mgc
.magic.magic.mgc:
(cd `dirname $@` && file -C -m $<)

Loading…
Cancel
Save