summaryrefslogtreecommitdiffstats
path: root/tdeio/Makefile.am
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-01-11 01:53:29 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-01-11 01:53:29 +0100
commit026a0ccdcdd054f227682f7e37dceef68173c6f9 (patch)
tree92fa82d9bb0386866883da54c86640f8efa3d13c /tdeio/Makefile.am
parent1540a5aade3a4182204ec547eca6cb81a8b521fb (diff)
downloadtdelibs-026a0ccdcdd054f227682f7e37dceef68173c6f9.tar.gz
tdelibs-026a0ccdcdd054f227682f7e37dceef68173c6f9.zip
Compile MIME magic file
This partially resolves Bug 2217 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tdeio/Makefile.am')
-rw-r--r--tdeio/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/tdeio/Makefile.am b/tdeio/Makefile.am
index fcf2d4c6f..9c549ec18 100644
--- a/tdeio/Makefile.am
+++ b/tdeio/Makefile.am
@@ -35,7 +35,7 @@ libtdeio_la_LIBADD = kssl/libkssl.la tdeio/libtdeiocore.la \
$(LIBZ) $(LIBFAM) $(LIBVOLMGT) $(ACL_LIBS) $(LIB_QT) $(LIB_TDECORE) $(top_builddir)/dcop/libDCOP.la $(LIB_X11)
magicdir = $(kde_confdir)/magic
-magic_DATA = tdeio.magic
+magic_DATA = tdeio.magic tdeio.magic.mgc
kde_servicetypes_DATA = application.desktop kurifilterplugin.desktop \
kcomprfilter.desktop kscan.desktop kdatatool.desktop \
@@ -64,6 +64,11 @@ messages:
$(XGETTEXT) `find . ../tdeioslave -name "*.cpp" -o -name "*.cc" -o -name "*.h"` -o $(podir)/tdeio.pot
rm -f rc.cpp
+SUFFIXES = .magic .magic.mgc
+
+.magic.magic.mgc:
+ (cd `dirname $@` && file -C -m $<)
+
DOXYGEN_REFERENCES = tdecore tdefx kjs dcop tdeui tdeio/tdeio tdeio/tdefile
DOXYGEN_EXCLUDE = kssl/kssl
include ../admin/Doxyfile.am