dist generate