Makefile
changeset 802 d8ba282954cd
parent 801 2657c198b9e2
child 816 bbadb46574c4
--- 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/