继续翻译

5.7.4 The `--print-directory' Option
------------------------------------If you use several levels of recursive `make' invocations, the `-w' or
`--print-directory' option can make the output a lot easier to
understand by showing each directory as `make' starts processing it and
as `make' finishes processing it.  For example, if `make -w' is run in
the directory `/u/gnu/make', `make' will print a line of the form:make: Entering directory `/u/gnu/make'.

before doing anything else, and a line of the form:make: Leaving directory `/u/gnu/make'.

when processing is completed.Normally, you do not need to specify this option because `make' does
it for you: `-w' is turned on automatically when you use the `-C'
option, and in sub-`make's.  `make' will not automatically turn on `-w'
if you also use `-s', which says to be silent, or if you use
`--no-print-directory' to explicitly disable it.

5.7.4 '--print-directory' 选项
------------------------------------

如果你有几层的递归式make激活,-w 或者 --print-directory 选项能够通过显示make开始处理的每一个目的和结束处理的每一个目录,使得输出更加容易理解。例如,如果 make -w 正在目录 /u/gnu/make目录下运行, 在作任何事情之前,make 将会打印出一行:

make: Entering directory `/u/gnu/make'.

处理结束后,会打印:

make: Leaving directory `/u/gnu/make'.

通常,你不需要设定这个选项,因为 make 会为你做这件事:当你使用 -C 选项,-w 是自动打开的,并且在子make中, 如果你也使用了 -s,make 不会自动打开 -w。-s 表示要保持静默,或者如果你显式使用了 --no-print-directory,也不会打开 -w。

后文待续

转载于:https://www.cnblogs.com/gaojian/archive/2012/10/02/2710277.html

GNU make manual 翻译( 一百四十九)相关推荐

  1. GNU make manual 翻译( 一百一十九)

    继续翻译 Each target specified must match the target pattern; a warning is issued for each target that d ...

  2. GNU make manual 翻译( 一百五十九)

    继续翻译 A computed variable name need not consist entirely of a single variable reference. It can conta ...

  3. GNU make manual 翻译( 一百五十五)

    继续翻译 6.2 The Two Flavors of Variables ================================There are two ways that a vari ...

  4. GNU make manual 翻译( 一百二十四)

    继续翻译 Note that such a prerequisite constitutes mentioning `main.o' in a makefile, so it can never be ...

  5. GNU make manual 翻译( 一百五十四)

    继续翻译 6.1 Basics of Variable References =================================To substitute a variable's v ...

  6. GNU make manual 翻译( 一百一十)

    继续翻译 `.SILENT' If you specify prerequisites for `.SILENT', then `make' will not print the recipe use ...

  7. GNU make manual 翻译( 一百一十四)

    继续翻译 4.10 Multiple Targets in a Rule ===============================A rule with multiple targets is ...

  8. GNU make manual 翻译( 一百七十五)

    继续翻译 `.DEFAULT_GOAL' Sets the default goal to be used if no targets were specified onthe command lin ...

  9. GNU make manual 翻译( 一百六十)

    继续翻译 The only restriction on this sort of use of nested variable references is that they cannot spec ...

最新文章

  1. Qomolangma实现篇(七):Qomo的接口机制
  2. windows按照sqlite笔记
  3. mysql post 中文乱码_mysql/mariaDB中文乱码问题的处理
  4. 8145v5 参数_如何估计模型中的参数
  5. XenDesktop 5 修改XML端口
  6. gradle 配置java 项目maven 依赖
  7. 机器学习基石(1)--The Learning Problem
  8. 2007年8月28日 月全食 照片
  9. Atitit 规范标准化的艺术 -----java jsr的实现 目录 1. Atitit jsr规范有多少个 407个。Jsr规范大全 1 2. Atitit jsr规范化分类 attilax总
  10. QT5.12安装图文教程与安装成功后环境配置详细教程
  11. 博科 5300 光纤交换机配置 备份和恢复
  12. 当我们做实验的时候,我们在做什么?
  13. python mkv转mp4,如何将mkv格式转换成mp4视频呢
  14. 宇枫资本如何挑选靠谱理财平台
  15. wxPython中按钮、文本控件的简单运用
  16. 【C语言】||(或) (且)
  17. CSS3 设置模糊背景图片
  18. 2022年高教杯国赛数学建模思路分享
  19. win 7 安装python 失败 提示Service Pack 1
  20. Unity三步实现动态头像(RawImage用法)

热门文章

  1. java固定资产管理系统代码_Java 固定资产管理系统(课程设计)
  2. mysql err 1349_MySQL 视图 第1349号错误解决方法
  3. Java引入依赖aar_java – 如何将JAR依赖项包含到AAR库中
  4. lucene.net mysql_用Lucene[1].net对数据库建立索引及搜索+
  5. 笔记本蓝牙显示输入码无效_如何凭借一把键盘游走桌面?米物蓝牙双模键盘
  6. mysql onlibe all_MySQL Online DDL
  7. C语言:随笔8--结构体
  8. Python-OpenCV运动物体检测
  9. 少样本学习原理快速入门,并翻译《Free Lunch for Few-Shot Learning: Distribution Calibration》
  10. 为什么我的python程序编译器没有行代号_为什么我的python字典没有附加新变量呢?...