From 97ee3d894020744ef5d0d016cef0bf78c45868d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 10 Jan 2016 21:04:48 +0100 Subject: Compile MIME magic file This partially resolves Bug 2217 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 133cc7035dbdcaf812d8370f729530fa60547f92) --- kolf/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'kolf') diff --git a/kolf/Makefile.am b/kolf/Makefile.am index 943fbb0f..162f2350 100644 --- a/kolf/Makefile.am +++ b/kolf/Makefile.am @@ -41,9 +41,14 @@ applicationmimedir = $(kde_mimedir)/application applicationmime_DATA = x-kourse.desktop x-kolf.desktop magicdir = $(kde_confdir)/magic -magic_DATA = kolf.magic +magic_DATA = kolf.magic kolf.magic.mgc METASOURCES = AUTO messages: rc.cpp game.h floater.h slope.h $(XGETTEXT) *.cpp canvasitem.h game.h -o $(podir)/kolf.pot + +SUFFIXES = .magic .magic.mgc + +.magic.magic.mgc: + (cd `dirname $@` && file -C -m $<) -- cgit v1.2.1