However when I tested how to log between make V=1 and make Q= on the latest master 0bab4c4addef3421f8ff1c45564f4a392b860f15. Against my expectation, the result was that the Q= printed more log than V=1. I would attach the log files. Is it intentional?
autoconf
./configure
make Q= 2>&1 | tee make_q.log
autoconf
./configure
make V=1 2>&1 | tee make_v1.log
I am trying to find which part prints the ...ing <file path> lines to the log. The lines below might be clue. But I am not sure about it so far due to my limitation of understanding Makefile syntax.
The difference comes from the ECHO1 setting in Makefile.in. In my assumption on the line, if V equals 1 the ECHO1 is set as $n (= :), otherwise ECHO1 is set as the value of V. I couldn't find the this syntax in the GNU make official document.
So, my conclusion is the current logic for V and Q is intentional. And I would close this ticket.
Sorry for confusion. I changed my mind. I want to make V=1 print the logs like current Q=, because I think when users set make V=1, they expect verbose.
Do not use Q=. Q, Q1 and V1 are intermediate variables.
You may want to set ECHO0=echo unconditionally.
Thanks for the info. I see a little bit difference of printed logs between make Q=, make install Q= and make V=1 ECHO0=echo and make install V=1 ECHO0=echo. But that's fine with me. I will use the V=1 ECHO0=echo.