> I have started recently to switch some of the OSS projects I work on to > automake. In one of this projects we used autoconf with our own hand > made Makefile.in. This Makefile.in hided the issued compiler commands > and instead printed something like "Compiling src/common/list.c.." or > "Linking src/prog/prog1..." (kinda like samba is doing I think). > > How should I do this with automake based project ?
Hi, From GNUMake (indepedent of automake), you can declare .SILENT: to prevent commands from being echoed. You can also prefix individual shell commands with @ to suppress echoing in the individual target scripts. If you're using libtool with automake, add to configure.ac: LIBTOOL="$LIBTOOL --silent" to keep libtool quiet unconditionally. That should cover most things. What remain are explicit echo commands. HTH. David Fang