tech-userlevel archive

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

make debugging output



By default, make(1)'s debugging output goes to stdout.  Would it be OK
to change the default to go to stderr?

My main concern is that debugging output interferes with processes that
attempt to parse the output from make(1).  For example, any process that
does something like

        result="$( make print-result )"

will get the wrong results if it's run in en environment that has
MAKEFLAGS="-dA".  Of course the calling process can just do

        result="$( make -dFstderr print-result )"

instead, but I think that this should not be necessary.

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index