Compile MIME magic file

This partially resolves Bug 2217

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 133cc7035d)
r14.0.x
Slávek Banko 9 years ago
parent 43a8026894
commit 97ee3d8940

@ -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