looking at someone else's Makefile, did a full build and saved all
the output for subsequent perusal thusly:

  $ make ... > /tmp/stuff 2>&1

  weirdly(?), there is a target which first runs a number of simple
linux commands (rm, mkdir, ...), then invokes "foreach" a couple
times to call some functions.

  i say "weirdly" because the output shows the "foreach" invocations
being run (they invoke their own "info" calls) *before* the linux
commands.

  is there some kind of buffering being done that would cause this?
it's entirely reproducible, and the make runs perfectly correctly, but
the saved output clearly(?) does not match the order of commands in
that particular rule.

  am i misunderstanding something simple?

rday

_______________________________________________
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to