Build frag files for all the package