URL:
<http://savannah.gnu.org/bugs/?51190>
Summary: make -n fails if export is used with recursion
Project: make
Submitted by: rdurkacz
Submitted on: Tue 06 Jun 2017 11:36:42 AM UTC
Severity: 3 - Normal
On Sun, 2017-05-28 at 10:40 +1000, Robert Durkacz wrote:
> So I am suggesting that if we must have "export" in make, then the
> workings of "make -n" should be upgraded to report any exports that
> are set up.
"make -n" is primarily an interactive debugging/informational tool
letting the user know
If I run "make some_target" and get an unexpected result, I would do this--
make -n some_target > script
to see what it was make was trying to do. If I run the commands in
"script", one by one or together,
I think I should get the same result as in the original case.
But it turns out not to work pr