]> git.ipfire.org Git - thirdparty/make.git/commit
Enhance the output sync mode.
authorPaul Smith <psmith@gnu.org>
Thu, 12 Sep 2013 08:07:52 +0000 (04:07 -0400)
committerPaul Smith <psmith@gnu.org>
Thu, 12 Sep 2013 08:07:52 +0000 (04:07 -0400)
commitdeff9dacc97cc20015d3018992f2c77cb7fab102
tree3da393310f9936a22aa211e6870a23e98b6fdebe
parent40a49f244da5b417af8bede84ac221cee2318d88
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.
27 files changed:
ChangeLog
Makefile.am
NEWS
NMakefile.template
SMakefile.template
build_w32.bat
doc/make.texi
dosbuild.bat
function.c
job.c
job.h
main.c
make.1
make.lnk
make_msvc_net2003.vcproj
makefile.vms
makeint.h
misc.c
output.c [new file with mode: 0644]
output.h [new file with mode: 0644]
po/POTFILES.in
remote-cstms.c
tests/ChangeLog
tests/scripts/features/output-sync
tests/scripts/variables/GNUMAKEFLAGS
tests/scripts/variables/MAKEFLAGS
tests/scripts/variables/MAKE_RESTARTS