changeset 2013:ecd1e22f7e80

Don't let the strings cross over each other.
author Eugene Paskevich <eugene@raptor.kiev.ua>
date Wed, 10 Oct 2007 09:01:48 +0300
parents 31cf04fc588b
children 1ad002ce1bd0
files buildsys.mk.in
diffstat 1 files changed, 17 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/buildsys.mk.in	Wed Oct 10 07:49:16 2007 +0300
+++ b/buildsys.mk.in	Wed Oct 10 09:01:48 2007 +0300
@@ -389,22 +389,23 @@
 BLUE = \e[0;34m
 CYAN = \e[0;36m
 
+KILL = \e[K
 
-DIR_ENTER = printf "$(CYAN)Entering directory $(BOLD)$$i$(CYAN).$(NORM)\n"; cd $$i || exit 1
-DIR_LEAVE = printf "$(CYAN)Leaving directory $(BOLD)$$i$(CYAN).$(NORM)\n"; cd .. || exit 1
-DEPEND_STATUS = printf "$(BROWN)Generating dependencies...$(NORM)\r"
-DEPEND_OK = printf "$(GREEN)Successfully generated dependencies.$(NORM)\n"
-DEPEND_FAILED = printf "$(RED)Failed to generate dependencies!$(NORM)\n"; exit 1
-COMPILE_STATUS = printf "$(BROWN)Compiling $(BOLD)$<$(BROWN)...$(NORM)\r"
-COMPILE_OK = printf "$(GREEN)Successfully compiled $(BOLD)$<$(GREEN).$(NORM)\n"
-COMPILE_FAILED = printf "$(RED)Failed to compile $(BOLD)$<$(RED)!$(NORM)\n"; exit 1
-LINK_STATUS = printf "$(BROWN)Linking $(BOLD)$@$(BROWN)...$(NORM)\r"
-LINK_OK = printf "$(GREEN)Successfully linked $(BOLD)$@$(GREEN).$(NORM)\n"
-LINK_FAILED = printf "$(RED)Failed to link $(BOLD)$@$(RED)!$(NORM)\n"; exit 1
-INSTALL_STATUS = printf "$(BROWN)Installing $(BOLD)$$i$(BROWN)...$(NORM)\r"
-INSTALL_OK = printf "$(GREEN)Successfully installed $(BOLD)$$i$(GREEN).$(NORM)\n"
-INSTALL_FAILED = printf "$(RED)Failed to install $(BOLD)$$i$(RED)!$(NORM)\n"; exit 1
-DELETE_OK = printf "$(BLUE)Deleted $(BOLD)$$i$(BLUE).$(NORM)\n"
-DELETE_FAILED = printf "$(RED)Failed to delete $(BOLD)$$i$(RED)!$(NORM)\n"; exit 1
+DIR_ENTER = printf "$(KILL)$(CYAN)Entering directory $(BOLD)$$i$(CYAN).$(NORM)\n"; cd $$i || exit 1
+DIR_LEAVE = printf "$(KILL)$(CYAN)Leaving directory $(BOLD)$$i$(CYAN).$(NORM)\n"; cd .. || exit 1
+DEPEND_STATUS = printf "$(KILL)$(BROWN)Generating dependencies...$(NORM)\r"
+DEPEND_OK = printf "$(KILL)$(GREEN)Successfully generated dependencies.$(NORM)\n"
+DEPEND_FAILED = printf "$(KILL)$(RED)Failed to generate dependencies!$(NORM)\n"; exit 1
+COMPILE_STATUS = printf "$(KILL)$(BROWN)Compiling $(BOLD)$<$(BROWN)...$(NORM)\r"
+COMPILE_OK = printf "$(KILL)$(GREEN)Successfully compiled $(BOLD)$<$(GREEN).$(NORM)\n"
+COMPILE_FAILED = printf "$(KILL)$(RED)Failed to compile $(BOLD)$<$(RED)!$(NORM)\n"; exit 1
+LINK_STATUS = printf "$(KILL)$(BROWN)Linking $(BOLD)$@$(BROWN)...$(NORM)\r"
+LINK_OK = printf "$(KILL)$(GREEN)Successfully linked $(BOLD)$@$(GREEN).$(NORM)\n"
+LINK_FAILED = printf "$(KILL)$(RED)Failed to link $(BOLD)$@$(RED)!$(NORM)\n"; exit 1
+INSTALL_STATUS = printf "$(KILL)$(BROWN)Installing $(BOLD)$$i$(BROWN)...$(NORM)\r"
+INSTALL_OK = printf "$(KILL)$(GREEN)Successfully installed $(BOLD)$$i$(GREEN).$(NORM)\n"
+INSTALL_FAILED = printf "$(KILL)$(RED)Failed to install $(BOLD)$$i$(RED)!$(NORM)\n"; exit 1
+DELETE_OK = printf "$(KILL)$(BLUE)Deleted $(BOLD)$$i$(BLUE).$(NORM)\n"
+DELETE_FAILED = printf "$(KILL)$(RED)Failed to delete $(BOLD)$$i$(RED)!$(NORM)\n"; exit 1
 
 -include .deps