Commit b7c80de6 authored by Pavan Balaji's avatar Pavan Balaji
Browse files

[svn-r5680] Allow VERBOSE=1 or V=1 format for simplemake. Fixes ticket #920.

Reviewed by goodell.
parent 26a1199e
......@@ -129,13 +129,13 @@ shared memory), MPD process management) of MPICH2 up and running.
This step should succeed if there were no problems with the
preceding step. Check file m.txt. If there were problems,
do a "make clean" and then run make again with VERBOSE=1
do a "make clean" and then run make again with V=1
make VERBOSE=1 |& tee m.txt (for csh and tcsh)
make V=1 |& tee m.txt (for csh and tcsh)
OR
make VERBOSE=1 2>&1 | tee m.txt (for bash and sh)
make V=1 2>&1 | tee m.txt (for bash and sh)
and then attach m.txt and c.txt to your bug report.
......
......@@ -5064,7 +5064,7 @@ sub PrintVerboseOptionCommand {
my $escaped_rule = $cmd;
$escaped_rule =~ s/$newline(\t+)\@*/ ; \\$newline$1echo /g;
print FD "\t\@if [ \"x\$(VERBOSE)\" != \"x1\" ] ; then \\$newline";
print FD "\t\@if [ \"x\$(VERBOSE)\" != \"x1\" -a \"x\$(V)\" != \"x1\" ] ; then \\$newline";
print FD "\t echo \"$echocmd\" ; \\$newline";
print FD "\telse \\$newline";
print FD "\t echo $escaped_rule ; \\$newline";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment