Fri, 14 Aug 2009

silent rules with automake 1.11

It seems that automake 1.11 made it into unstable and, besides other features, that means silent rules like linux does since quite some time.
For the impatient, in configure.ac:


AM_INIT_AUTOMAKE
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])

Then after a round of automake/configure the make invocation will be like

make[3]: Entering directory `foo'
CXX source1.lo
CXX source2.lo
CCLD lib1.la
[...]

Credit note: the autotools mythbuster guide

Posted at: 23:40 | permalink permalink | add to del.icio.us add to del.icio.us | comments Comments (6)

Posted by Zack at Sat Aug 15 02:52:30 2009
NOOOOOOOOOOOOO

Another of these monstrosities, no doubt with yet another different way of disabling it.

One of these days I'm going to patch @-prefix support out of gnu make.

Posted by Bernhard R. Link at Sat Aug 15 11:01:58 2009
If you make a Debian package of such software, please give configure (or make or wherever needed) in debian/rules the option to disable that hiding.

Otherwise don't come whining (or even dare to complain about architectures you do not care about) when noone fixes your bugs for you anymore.

Posted by Bernhard R. Link at Sat Aug 15 11:06:36 2009
By the way: please fix your captcha: Showing only 3 lines and a box of 3 rows to enter it when it are 6 rows is not nice to humans

Posted by Filippo at Sat Aug 15 20:18:26 2009
Thanks for the comments.
Just to clarify, make V=1 restores the make normal behaviour and this features is of course opt-in.

Posted by mirabilos at Sun Aug 16 14:23:48 2009
Zack, Bernhard, I so feel with you. I guess
we’ll have to use V=1 globally in MirPorts soon.

http://article.gmane.org/gmane.os.miros.general/8896

Posted by Rob Miller at Sat Nov 28 11:15:44 2009
I liked your site.

Name: [required]


E-mail:


Homepage:


Comment: [required]