[FFmpeg-devel] [PATCH] Small fix to build output formatting

Georgi Chorbadzhiyski gf
Mon Mar 8 11:43:41 CET 2010


With the following there is visual difference in output from the
build system and from the compiler. The build system now always
have "  " in front, and the compiler starts at column 0. This
allows to grep -v "^  " build output and just focus on compiler
warnings.

diff --git a/common.mak b/common.mak
index b55e921..d49ac27 100644
--- a/common.mak
+++ b/common.mak
@@ -19,7 +19,7 @@ endif

 ifndef V
 Q      = @
-ECHO   = printf "$(1)\t%s\n" $(2)
+ECHO   = printf "  %-8s %s\n" $(1) $(2)
 BRIEF  = CC AS YASM AR LD HOSTCC RANLIB STRIP CP
 SILENT = DEPCC YASMDEP RM
 MSG    = $@

-- 
Georgi Chorbadzhiyski
http://georgi.unixsol.org/



More information about the ffmpeg-devel mailing list