Fix: Solaris 'file' utility does not support '--compile' option and user
supplied rc file.
--- a/Makefile Thu Jun 02 21:55:33 2016 +0300
+++ b/Makefile Thu Jun 02 22:02:14 2016 +0300
@@ -147,11 +147,13 @@
$(INSTALL_DATA) .local/share/mc/bashrc $(HOME)/.mc; \
$(INSTALL_DATA) .config/mc/mc.ext $(HOME)/.mc/bindings; \
fi
+ifneq '' '$(filter $(host_os),cygwin linux)'
if command -v file 1>/dev/null; then \
$(INSTALL_DATA) .magic $(HOME); \
cd $(HOME); \
file --compile -m .magic; \
fi
+endif
mkdir -p $(HOME)/.local/share/applications/
$(INSTALL_DATA) .local/share/applications/mimeapps.list $(HOME)/.local/share/applications/