Use `bin.install` where needed to install files, or `bin.install 'oldname' => 'newname'`. install does an implicit `mkpath` if needed; so the mkpath on share may be elided as well if install is used.