I've written build scripts in Rust.
I take's flippin' forever (relative to shell or make). But at least it has proper error checking.
One of the guys working on Redox OS make a library called cake which provides macros for a Makefile style script: https://github.com/ticki/cake