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 b24020e8f9
commit 133cc7035d

@ -41,9 +41,14 @@ applicationmimedir = $(kde_mimedir)/application
applicationmime_DATA = x-kourse.desktop x-kolf.desktop applicationmime_DATA = x-kourse.desktop x-kolf.desktop
magicdir = $(kde_confdir)/magic magicdir = $(kde_confdir)/magic
magic_DATA = kolf.magic magic_DATA = kolf.magic kolf.magic.mgc
METASOURCES = AUTO METASOURCES = AUTO
messages: rc.cpp game.h floater.h slope.h messages: rc.cpp game.h floater.h slope.h
$(XGETTEXT) *.cpp canvasitem.h game.h -o $(podir)/kolf.pot $(XGETTEXT) *.cpp canvasitem.h game.h -o $(podir)/kolf.pot
SUFFIXES = .magic .magic.mgc
.magic.magic.mgc:
(cd `dirname $@` && file -C -m $<)

Loading…
Cancel
Save