I have a project where generating reproducible code CRCs is important, and if possible want make to throw an error if any files [in a git repository] have uncommitted modifications.
My first naive approach was: @git status -s 1>&2 Didn't work, no make errors generated.
Anyone know how to force a make error if an arbitrary command produces stdout text as a general case, or if a git repository has modified files as a specific case?