From 563faa0b92ae6cabb986b106be2f6e046131cc1e Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 26 Mar 2015 11:29:35 +0100 Subject: [Keys] configure/make : check presence of files - Checks presence of ./configure and Makefile/GNUmakefile - If not present, do whatever is possible to generate them - Launch the ./configure or make process if everything is ok. --- user:hugues/GusBindings.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user:hugues/GusBindings.zsh b/user:hugues/GusBindings.zsh index d52d173..03fec0c 100644 --- a/user:hugues/GusBindings.zsh +++ b/user:hugues/GusBindings.zsh @@ -216,10 +216,10 @@ do bindkey -M $keymap -s '^[T' '^[Q todo all -c\n' fi - bindkey -M $keymap -s '^[c' '^[Q ./configure\n' + bindkey -M $keymap -s '^[c' '^[Q [ ! -e configure ] && ( ./autogen.sh && ./configure ) || ./configure\n' bindkey -M $keymap -s '^[©' '^[Q !?configure\n' - bindkey -M $keymap -s '^[m' '^[Q make\n' + bindkey -M $keymap -s '^[m' '^[Q [ ! -e Makefile -a ! -e GNUmakefile ] && ( [ ! -e configure ] && ./autogen.sh ; ./configure && make ) || make\n' bindkey -M $keymap -s '^[M' '^[Q make\n' bindkey -M $keymap -s '^[l' '^[Q l\n' -- cgit v1.2.3