make from a bash script. Part of the rest of the script only needs to be executed if
make actually did something (i.e. it doesn't say
nothing to be done for...).
How would I check on that in bash? The return code is the same as when something does happen (and doesn't fail), so I can't use that. Is there a better way than comparing
make's output and see if it contains
nothing to be done for?
I'm using GNU Make 4.0.