diff options
author | Slávek Banko <[email protected]> | 2016-01-10 18:48:49 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-01-10 18:49:04 +0100 |
commit | baa76bb756c93cc5172cd2019e516c4dde47c768 (patch) | |
tree | 2a86ab9f2a8156e4bee1a0cee57288a8a5d60a53 | |
parent | 310cc7e2b342c5781ae0eac93f8482c67ea11154 (diff) | |
download | basket-baa76bb756c93cc5172cd2019e516c4dde47c768.tar.gz basket-baa76bb756c93cc5172cd2019e516c4dde47c768.zip |
Compile MIME magic file
This partially resolves Bug 2217
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 1b88bc35caf20a876991d4e38d9a767d429e8a36)
-rw-r--r-- | file-integration/Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/file-integration/Makefile.am b/file-integration/Makefile.am index 1838f15..f5e7774 100644 --- a/file-integration/Makefile.am +++ b/file-integration/Makefile.am @@ -4,7 +4,7 @@ applicationmime_DATA = x-basket-archive.desktop x-basket-template.desktop # Magic MIME Types Discovery: magicdir = $(kde_confdir)/magic -magic_DATA = basket.magic +magic_DATA = basket.magic basket.magic.mgc # Thumbnail Creator: INCLUDES = $(all_includes) @@ -21,3 +21,8 @@ KDE_ICON = AUTO # cr32-mimetype-baskets.png cr48-mimetype-baskets.png cr64-mimetype-baskets.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 + +SUFFIXES = .magic .magic.mgc + +.magic.magic.mgc: + (cd `dirname $@` && file -C -m $<) |