I mean, I guess my big problem is this. I have a massively GNU Make recursive system. (Yes I know it is a bad thing; I did not write it myself). I hacked a shell to do some custom stuff, and I want to use the hacked shell with GNU Make.
I can't very well use the SHELL hack, because that would mean, I would have to modify every single Makefile, of which there are gazillions. I could (and I am doing it right now) grok the job.c file of GNU Make to figure out how to change it to accept my modified shell. But it's not easy and I don't really want to hack GNU Make if I can help it. Is there another way to get massively recursive GNU Make system to accept a custom shell. Thank you, Mark From: Paul Smith <psm...@gnu.org> To: Mark Galeck <mark_gal...@pacbell.net> Cc: "help-make@gnu.org" <help-make@gnu.org> Sent: Tuesday, October 13, 2015 5:02 AM Subject: Re: how to use a different /bin/sh with GNU Make? On Tue, 2015-10-13 at 04:35 +0000, Mark Galeck wrote: > as root, I replaced the default /bin/sh with a shell compiled by me > with custom changes. I expected GNU Make will use that shell by > default , but it does not - it still uses the original /bin/sh (which > was really bash) even though it is not there anymore. It would be very helpful if you provided an example of the recipe you're using. Without that we can only speculate. _______________________________________________ Help-make mailing list Help-make@gnu.org https://lists.gnu.org/mailman/listinfo/help-make