summaryrefslogtreecommitdiff
path: root/make.1
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-05-13 01:30:24 -0400
committerPaul Smith <psmith@gnu.org>2013-05-13 01:30:24 -0400
commit381baeef7aa4f2c8758a9910ebb97af46c0dd7eb (patch)
treea62e74040e2ea16c3480566b0d2cb246c6fec453 /make.1
parent5367d393ddb36fc8b3f358418d5c9f2b9f01d2fe (diff)
downloadgunmake-381baeef7aa4f2c8758a9910ebb97af46c0dd7eb.tar.gz
Add new --trace[=MODE] flags, with --trace=dir
This mode replaces the previous heuristic setting enabled with -O, where we would log directory enter/leave for each synchronized output. Now we only do that if --trace=dir is given.
Diffstat (limited to 'make.1')
-rw-r--r--make.122
1 files changed, 19 insertions, 3 deletions
diff --git a/make.1 b/make.1
index ad86db3..9420032 100644
--- a/make.1
+++ b/make.1
@@ -231,7 +231,7 @@ the output from the entire recipe for each target is grouped together. If
.I type
is
.B line
-the output from each line within a recipe is grouped together.
+the output from each command line within a recipe is grouped together.
If
.I type
is
@@ -289,9 +289,25 @@ This is used to pretend that the commands were done, in order to fool
future invocations of
.BR make .
.TP 0.5i
-.B \-\-trace
+.B \-\-trace\fR[=\fImode\fR]
Print information about the commands invoked by
-.BR make.
+.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.
.TP 0.5i
\fB\-v\fR, \fB\-\-version\fR
Print the version of the