I don't think Makefiles are a bad way to go but a bash script is likely more accessible and easily reasoned about in most places.