create make file for generating docs and regenerate