]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfsprogs: Make the compile output cleaner V3
authorDave Chinner <david@fromorbit.com>
Tue, 19 Jan 2010 22:05:49 +0000 (09:05 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 19 Jan 2010 22:05:49 +0000 (09:05 +1100)
commit35714853461ac559271afaf38f54e175a845de90
tree3f29d28653c52d1017eefb890c7efd6cbab7f346
parentfb10fd960b3c81a3f09993ae84626fbee018a33f
xfsprogs: Make the compile output cleaner V3

We don't need to see every compiler command line for every file that
is compiled. This makes it hard to see warnings and errors during
compile. For progress notification, we really only need to see the
diretory/file being operated on.

Turn down the verbosity of output by suppressing various make output
and provide better overall visibility of which directory is being
operated on, what the operation is and what is being done to the
files by the build/clean process.

Sample output from a build:

....
Building libxlog
    [CC] xfs_log_recover.c
    [CC] util.c
    [LD] libxlog.la
Building libxcmd
    [CC] command.c
    [CC] input.c
    [CC] paths.c
    [CC] projects.c
    [CC] help.c
    [CC] quit.c
    [LD] libxcmd.la
....

Sample output from cleaning:

$ make clean
Cleaning include
Cleaning libxfs
Cleaning libxlog
Cleaning libxcmd
Cleaning libhandle
Cleaning libdisk
Cleaning copy
Cleaning db
....

If you want to see a noisy build (i.e. every command), use:

$ make V=1

and that will output all the commands that are now suppressed by
default.

Portions of this patch were contributed by Eric Sandeen.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Makefile
doc/Makefile
include/Makefile
include/buildmacros
include/buildrules
mkfs/Makefile