GNU make manual 翻译( 一百四十九)
生活随笔
收集整理的這篇文章主要介紹了
GNU make manual 翻译( 一百四十九)
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
繼續翻譯
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 翻译( 一百四十九)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: “人世尘冥冥”上一句是什么
- 下一篇: 元气骑士武器配件怎么刷?