Makefile
changeset 329 5c0a22da5ef3
parent 328 3e80c4af5ab6
child 427 59627b533219
equal deleted inserted replaced
328:3e80c4af5ab6 329:5c0a22da5ef3
    98 	vminor=$${vminor%.*}; \
    98 	vminor=$${vminor%.*}; \
    99 	umask 0117; \
    99 	umask 0117; \
   100 	if [ $$vmajor -gt 4 -o '(' $$vmajor -eq 4 -a $$vminor -ge 8 ')' ]; then \
   100 	if [ $$vmajor -gt 4 -o '(' $$vmajor -eq 4 -a $$vminor -ge 8 ')' ]; then \
   101 		mkdir -p $(HOME)/.config/mc $(HOME)/.local/share/mc/; \
   101 		mkdir -p $(HOME)/.config/mc $(HOME)/.local/share/mc/; \
   102 		install -m 640 .local/share/mc/bashrc $(HOME)/.local/share/mc/; \
   102 		install -m 640 .local/share/mc/bashrc $(HOME)/.local/share/mc/; \
   103 		if [ '$(host_os)' = 'cygwin' ]; then \
   103 		cat .config/mc/mc.ext /etc/mc/mc.ext > $(HOME)/.local/share/mc/mc.ext; \
   104 			cat .config/mc/mc.ext.cygwin /etc/mc/mc.ext > $(HOME)/.local/share/mc/mc.ext; \
       
   105 		else \
       
   106 			cat .config/mc/mc.ext /etc/mc/mc.ext > $(HOME)/.local/share/mc/mc.ext; \
       
   107 		fi; \
       
   108 	else \
   104 	else \
   109 		mkdir -p $(HOME)/.mc; \
   105 		mkdir -p $(HOME)/.mc; \
   110 		install -m 640 .local/share/mc/bashrc $(HOME)/.mc; \
   106 		install -m 640 .local/share/mc/bashrc $(HOME)/.mc; \
   111 		if [ '$(host_os)' = 'cygwin' ]; then \
   107 		install -m 640 .config/mc/mc.ext $(HOME)/.mc/bindings; \
   112 			install -m 640 .config/mc/mc.ext.cygwin $(HOME)/.mc/bindings; \
       
   113 		else \
       
   114 			install -m 640 .config/mc/mc.ext $(HOME)/.mc/bindings; \
       
   115 		fi; \
       
   116 	fi
   108 	fi
   117 	if command -v file 1>/dev/null; then \
   109 	if command -v file 1>/dev/null; then \
   118 		install -m 640 .magic $(HOME); \
   110 		install -m 640 .magic $(HOME); \
   119 		cd $(HOME); \
   111 		cd $(HOME); \
   120 		file --compile -m .magic; \
   112 		file --compile -m .magic; \