diff options
author | Paul Smith <psmith@gnu.org> | 2013-04-28 01:19:19 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2013-04-28 01:19:19 -0400 |
commit | 66bf8c4da92e61a541e873b3af4dc9e2c903242a (patch) | |
tree | b211c33f53be418ea4bf051b503aea10607f6d49 /make.1 | |
parent | 5a7c4187fbe93cd026d9427647cfb11b5391ae18 (diff) | |
download | make-66bf8c4da92e61a541e873b3af4dc9e2c903242a.tar.gz |
Add support for per-job output sync.
A new flag to the -O/--output-sync, "job", selects a per-job (that is, per
line of a recipe) output synchronization. To support this move the close of
the temp file out of the sync_output() function and don't do it until we free
the child, since we may call sync_output() multiple times in a given recipe.
When we set up for a new temp file, if we're in per-job mode we truncate the
file and seek to the beginning to re-use it for every job.
Diffstat (limited to 'make.1')
-rw-r--r-- | make.1 | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -227,11 +227,20 @@ other jobs. If .I type is not specified or is .B target -output is grouped together on a per-target basis. If +the output from the entire recipe for each target is grouped together. If +.I type +is +.B job +the output from each job within a recipe is grouped together. +If .I type is .B make -output from an entire recursive make is grouped together. +output from an entire recursive make is grouped together. If +.I type +is +.B none +output synchronization is disabled. .TP 0.5i \fB\-p\fR, \fB\-\-print\-data\-base\fR Print the data base (rules and variable values) that results from |