automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modify Output to look like Linux Kernel


From: Bob Friesenhahn
Subject: Re: Modify Output to look like Linux Kernel
Date: Thu, 5 Jul 2007 16:26:11 -0500 (CDT)

On Thu, 5 Jul 2007, Johannes Bauer wrote:

Hello list,

how can I modify the output of an Automake project so that it does not
display the whole command line, but simply the short version like the
Linux Kernel does, e.g.:

 CC      init/version.o
 CC      init/do_mounts.o
 LD      init/mounts.o
 CC      init/initramfs.o
 CC      init/calibrate.o
 LD      init/built-in.o

Displaying the whole compile line is pretty useless in my opinion...

I am sure that you can write an awk script to do that.  Then do

  make 2>&1 | yourscript

A big difference between Automake projects and building the Linux kernel is that building the linux kernel is practically assured to succeed where as building Automake projects may fail and require correction by the end user (who needs to see what is going on).

Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]