summaryrefslogtreecommitdiff
path: root/make.1
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-09-12 04:07:52 -0400
committerPaul Smith <psmith@gnu.org>2013-09-12 04:07:52 -0400
commitf8d3491aeb021c4ebc77a35ac59549e5294da698 (patch)
tree3da393310f9936a22aa211e6870a23e98b6fdebe /make.1
parent7a4d7947a0854e932c501d46fb9fe42c3aa2071d (diff)
downloadmake-f8d3491aeb021c4ebc77a35ac59549e5294da698.tar.gz
Enhance the output sync mode.
Create a new file, output.c, and collect functions that generate output there. We introduce a new global context specifying where output should go (to stdout or to a sync file), and the lowest level output generator chooses where to write output based on that context. This allows us to set the context globally, and all operations that write output (including functions like $(info ...) etc.) will use it. Removed the "--trace=dir" capability. It was too confusing. If you have directory tracking enabled then output sync will print the enter/leave message for each synchronized block. If you don't want that, disable directory tracking.
Diffstat (limited to 'make.1')
-rw-r--r--make.122
1 files changed, 3 insertions, 19 deletions
diff --git a/make.1 b/make.1
index df2a169c..87ee42ed 100644
--- a/make.1
+++ b/make.1
@@ -289,25 +289,9 @@ This is used to pretend that the commands were done, in order to fool
future invocations of
.BR make .
.TP 0.5i
-.B \-\-trace\fR[=\fImode\fR]
-Print information about the commands invoked by
-.BR make .
-If
-.I mode
-is not specified or is
-.B rule
-information about the disposition of each target is printed. If
-.I mode
-is
-.B dir
-then directory enter/leave trace statements are shown for each synchronized
-output segment (see
-.BR \-O ).
-If
-.I mode
-is
-.B none
-then no tracing is performed.
+.B \-\-trace
+Information about the disposition of each target is printed (why the target is
+being rebuilt and what commands are run to rebuild it).
.TP 0.5i
\fB\-v\fR, \fB\-\-version\fR
Print the version of the