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 what commands make would invoke. It's not the case that the output of "make -n" is intended to be a script that could simply be invoked to perfectly run the commands that make would run. That may be an interesting enhancement to consider, however. Probably it's best to file an enhancement for this at Savannah so it's not lost: https://savannah.gnu.org/bugs/?func=additem&group=make _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make