Add -N: a safe, $(MAKE) proof version of -n

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Add -N: a safe, $(MAKE) proof version of -n

積丹尼 Dan Jacobson
Sometimes the user just wants -n to always just print, despite the
little $(MAKE) landmines buried deep in a Makefile. (info "(make)
Instead of Execution")

Yes, he doesn't want to worry that the code will explode in his face,
calling up Moscow on the hotline, etc.

Thus I hereby propose that you please consider adding -N, a safe version
of -n that is guaranteed never to execute anything.

Maybe have it print special messages when it encounters $(MAKE)s, or
whatever, but just - don't - have - it - execute - code. Thank you.

Bug-make mailing list
[hidden email]