[notmuch] [PATCH] Makefile: Enable backslash escapes for echo.

Stefan Schmidt stefan at datenfreihafen.org
Thu Nov 26 00:17:15 PST 2009


This fixes a visual glitch during a silent compile.
Before:
Use "make V=1" to see the verbose compile lines.\n  CC  debugger.o
  CC    gmime-filter-reply.o

After:
Use "make V=1" to see the verbose compile lines.
  CC    debugger.o
  CC    gmime-filter-reply.o

Signed-off-by: Stefan Schmidt <stefan at datenfreihafen.org>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 2cd1b1b..2d19a6e 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ include Makefile.config
 # user how to enable verbose compiles.
 ifeq ($(V),)
 quiet_DOC := "Use \"$(MAKE) V=1\" to see the verbose compile lines.\n"
-quiet = @echo $(quiet_DOC)$(eval quiet_DOC:=)"  $1	$@"; $($1)
+quiet = @echo -e $(quiet_DOC)$(eval quiet_DOC:=)"  $1	$@"; $($1)
 endif
 # The user has explicitly enabled quiet compilation.
 ifeq ($(V),0)
-- 
1.6.5.3



More information about the notmuch mailing list