diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-01-11 20:22:00 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-01-11 20:22:24 +0100 |
commit | d3043500465888d433bf443a34ab2adc55043758 (patch) | |
tree | 315ba9e7aca02bc2982b2fe17548e7c6adfd925a | |
parent | d79466e3d8b60205769f95fee76f103ff4ecf819 (diff) | |
download | ksquirrel-d3043500465888d433bf443a34ab2adc55043758.tar.gz ksquirrel-d3043500465888d433bf443a34ab2adc55043758.zip |
Compile MIME magic file
This partially resolves Bug 2217
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 641c6403824b32d7d144ac70b860d5da3ce432df)
-rw-r--r-- | ksquirrel/mime/Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ksquirrel/mime/Makefile.am b/ksquirrel/mime/Makefile.am index a5e3673..f211e08 100644 --- a/ksquirrel/mime/Makefile.am +++ b/ksquirrel/mime/Makefile.am @@ -40,6 +40,7 @@ install-data-local: $(INSTALL_DATA) $(srcdir)/x-ras.desktop $(kde_mimedir)/image/x-ras.desktop $(mkinstalldirs) $(kde_confdir)/magic/ $(INSTALL_DATA) $(srcdir)/x-ras.magic $(kde_confdir)/magic/x-ras.magic + (cd $(DESTDIR)$(kde_confdir)/magic && file -C -m x-ras.magic) $(mkinstalldirs) $(kde_mimedir)/image/ $(INSTALL_DATA) $(srcdir)/x-rawrgb.desktop $(kde_mimedir)/image/x-rawrgb.desktop $(mkinstalldirs) $(kde_mimedir)/image/ @@ -48,10 +49,12 @@ install-data-local: $(INSTALL_DATA) $(srcdir)/x-sun.desktop $(kde_mimedir)/image/x-sun.desktop $(mkinstalldirs) $(kde_confdir)/magic/ $(INSTALL_DATA) $(srcdir)/x-sun.magic $(kde_confdir)/magic/x-sun.magic + (cd $(DESTDIR)$(kde_confdir)/magic && file -C -m x-sun.magic) $(mkinstalldirs) $(kde_mimedir)/image/ $(INSTALL_DATA) $(srcdir)/x-utah.desktop $(kde_mimedir)/image/x-utah.desktop $(mkinstalldirs) $(kde_confdir)/magic/ $(INSTALL_DATA) $(srcdir)/x-utah.magic $(kde_confdir)/magic/x-utah.magic + (cd $(DESTDIR)$(kde_confdir)/magic && file -C -m x-utah.magic) $(mkinstalldirs) $(kde_mimedir)/image/ $(INSTALL_DATA) $(srcdir)/x-wal.desktop $(kde_mimedir)/image/x-wal.desktop $(mkinstalldirs) $(kde_mimedir)/image/ @@ -90,12 +93,15 @@ uninstall-local: -rm -f $(kde_mimedir)/image/x-pxr.desktop -rm -f $(kde_mimedir)/image/x-ras.desktop -rm -f $(kde_confdir)/magic/x-ras.magic + -rm -f $(kde_confdir)/magic/x-ras.magic.mgc -rm -f $(kde_mimedir)/image/x-rawrgb.desktop -rm -f $(kde_mimedir)/image/x-sct.desktop -rm -f $(kde_mimedir)/image/x-sun.desktop -rm -f $(kde_confdir)/magic/x-sun.magic + -rm -f $(kde_confdir)/magic/x-sun.magic.mgc -rm -f $(kde_mimedir)/image/x-utah.desktop -rm -f $(kde_confdir)/magic/x-utah.magic + -rm -f $(kde_confdir)/magic/x-utah.magic.mgc -rm -f $(kde_mimedir)/image/x-wal.desktop -rm -f $(kde_mimedir)/image/x-wbmp.desktop -rm -f $(kde_mimedir)/image/x-xim.desktop |