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 8d28dcef12
commit 1b88bc35ca

@ -4,7 +4,7 @@ applicationmime_DATA = x-basket-archive.desktop x-basket-template.desktop
# Magic MIME Types Discovery: # Magic MIME Types Discovery:
magicdir = $(kde_confdir)/magic magicdir = $(kde_confdir)/magic
magic_DATA = basket.magic magic_DATA = basket.magic basket.magic.mgc
# Thumbnail Creator: # Thumbnail Creator:
INCLUDES = $(all_includes) INCLUDES = $(all_includes)
@ -21,3 +21,8 @@ KDE_ICON = AUTO
# cr32-mimetype-baskets.png cr48-mimetype-baskets.png cr64-mimetype-baskets.png \ # cr32-mimetype-baskets.png cr48-mimetype-baskets.png cr64-mimetype-baskets.png \
# cr128-mimetype-baskett.png cr16-mimetype-baskett.png cr22-mimetype-baskett.png \ # cr128-mimetype-baskett.png cr16-mimetype-baskett.png cr22-mimetype-baskett.png \
# cr32-mimetype-baskett.png cr48-mimetype-baskett.png cr64-mimetype-baskett.png # cr32-mimetype-baskett.png cr48-mimetype-baskett.png cr64-mimetype-baskett.png
SUFFIXES = .magic .magic.mgc
.magic.magic.mgc:
(cd `dirname $@` && file -C -m $<)

Loading…
Cancel
Save