archiving and building all files for dist