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

Måns Rullgård mans
Mon Mar 8 15:19:27 CET 2010


Georgi Chorbadzhiyski <gf at unixsol.org> writes:

> 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.

Compiler warnings go to stderr, the make messages to stdout, just like
with vanilla make.

> 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    = $@

This doesn't do what you think it does.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list