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
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/