help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: misunderstanding -s behavior


From: Paul Smith
Subject: Re: misunderstanding -s behavior
Date: Thu, 14 Mar 2013 12:36:37 -0400

On Thu, 2013-03-14 at 17:36 +0100, address@hidden wrote:
> But: shouldn't the "-s" option be honored for any recursion level?

It's not that -s is handled differently at different recursion levels.
It's that -s does not automatically disable the directory entry/exit
statements.  That's why you need to also include the
--no-print-directory flag (which does disable the directory entry/exit
statements).

The directory entry/exit statements are not printed at the top-most
level of make, because it's assumed that you know what directory you
were in and what makefile you were using when you typed "make" and so
everything that happens in that directory doesn't need further
commentary.

Once make invokes a sub-make, however, the output you see is possibly
from a different makefile and/or directory, so make prints the
enter/exit statements around those commands so you know that.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]