makefile: perform a syntax check on the output bash script
the ultimate fix -- towards the first stable release...