bug-make
[Top][All Lists]
Advanced

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

-s vs. 'Entering directory' messages


From: Dan Jacobson
Subject: -s vs. 'Entering directory' messages
Date: Sat, 11 Dec 2004 04:58:54 +0800

`-s'
`--silent'
`--quiet'
     Silent operation; do not print the commands as they are executed.
     *Note Command Echoing: Echoing.

Yes well you had better add a note that even though you might have used
make -s insert_rods > master_reactor
for years, when one day it becomes part of a recursive make, you might
end up with
make[2]: Entering directory `/electric_co/nordsby_facility'
at the top of the output file. Same with `Leaving' at the bottom.

Idea: If I have been given a -s, that means no Entering and Leaving
messages too, no matter how much I want to blurt them out.

Digging further we find
   `make' will not automatically turn on `-w'
   if you also use `-s', which says to be silent
Then pray tell why `env` shows
MAKEFLAGS=ws
MFLAGS=-ws
MAKELEVEL=3

Ok, adding --no-print-directory to the -s shut it up.




reply via email to

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