diff options
| -rw-r--r-- | usr.bin/make/compat.c | 2 | ||||
| -rw-r--r-- | usr.bin/make/job.c | 2 | ||||
| -rw-r--r-- | usr.bin/make/main.c | 3 | ||||
| -rw-r--r-- | usr.bin/make/make.h | 1 |
4 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/make/compat.c b/usr.bin/make/compat.c index f9f7e796c2a9..4e14429dbf5a 100644 --- a/usr.bin/make/compat.c +++ b/usr.bin/make/compat.c @@ -240,7 +240,7 @@ CompatRunCommand (cmdp, gnp) while ((*cmd == '@') || (*cmd == '-')) { if (*cmd == '@') { - silent = TRUE; + silent = DEBUG(LOUD) ? FALSE : TRUE; } else { errCheck = FALSE; } diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index 2fa1e0ce15ba..5e318e758382 100644 --- a/usr.bin/make/job.c +++ b/usr.bin/make/job.c @@ -555,7 +555,7 @@ JobPrintCommand(cmdp, jobp) */ while (*cmd == '@' || *cmd == '-') { if (*cmd == '@') { - shutUp = TRUE; + shutUp = DEBUG(LOUD) ? FALSE : TRUE; } else { errOff = TRUE; } diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index ae3f820ec892..3fe39ed432ee 100644 --- a/usr.bin/make/main.c +++ b/usr.bin/make/main.c @@ -262,6 +262,9 @@ rearg: while((c = getopt(argc, argv, OPTFLAGS)) != -1) { case 'j': debug |= DEBUG_JOB; break; + case 'l': + debug |= DEBUG_LOUD; + break; case 'm': debug |= DEBUG_MAKE; break; diff --git a/usr.bin/make/make.h b/usr.bin/make/make.h index 874eaa6550ad..5d7eb3d0279b 100644 --- a/usr.bin/make/make.h +++ b/usr.bin/make/make.h @@ -360,6 +360,7 @@ extern int debug; #define DEBUG_TARG 0x0100 #define DEBUG_VAR 0x0200 #define DEBUG_FOR 0x0400 +#define DEBUG_LOUD 0x0800 #ifdef __STDC__ #define CONCAT(a,b) a##b |
