控制GNU autotools输出 [英] Control GNU autotools make output

查看:152
本文介绍了控制GNU autotools输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是GNU autoconf / automake。有什么办法可以控制从configure.ac或Makefile.am打印出标准输出吗?例如,禁止将mv和cp命令打印到屏幕上,只打印由gcc编译的文件的名称而不是整个命令行,以某种方式突出显示gcc警告。

解决方案

美化Automake 你想要什么?




编辑:截至Automake 1.10b, silent-rules 是内置的。不同的代码或风格,但效果相似。


I am using GNU autoconf/automake. Is there any way I can control what make prints to stdout from configure.ac or Makefile.am? For example, suppress mv and cp commands being printed out to the screen, only print the name of the file being compiled by gcc rather than the whole command line, highlight gcc warnings in some way.

解决方案

Is Prettify Automake what you want?


Edit: As of Automake 1.10b, silent-rules is built-in. Not the same code or style but similar in effect.

这篇关于控制GNU autotools输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆