generate a standalone and amd-support dist file