Add build option to tidy up the dist directory