# copy the source files to the gen dir if necessary.