Makefile
changeset 295 7970a5d63d57
parent 293 a9ac4e2551a0
child 312 fc29a6c443ba
equal deleted inserted replaced
294:91a01838d930 295:7970a5d63d57
    96 ifeq '$(host_os)' 'cygwin'
    96 ifeq '$(host_os)' 'cygwin'
    97 	install -m 640 .mc/bindings.cygwin $(HOME)/.mc/bindings
    97 	install -m 640 .mc/bindings.cygwin $(HOME)/.mc/bindings
    98 else
    98 else
    99 	install -m 640 .mc/bindings $(HOME)/.mc/bindings
    99 	install -m 640 .mc/bindings $(HOME)/.mc/bindings
   100 endif
   100 endif
       
   101 	if command -v file 1>/dev/null; then \
       
   102 		install -m 640 .magic $(HOME); \
       
   103 		cd $(HOME); \
       
   104 		file --compile -m .magic; \
       
   105 	fi
   101 
   106 
   102 .PHONY: uninstall
   107 .PHONY: uninstall
   103 uninstall:
   108 uninstall:
   104 	for item in $(OVERRIDDEN_ITEMS); do \
   109 	for item in $(OVERRIDDEN_ITEMS); do \
   105 		if [ -f $$item ]; then \
   110 		if [ -f $$item ]; then \