convert makefile to build script
docs