autogen.sh 是否应该包含在 tarball 中?
我看到许多 tarball 不包含 autogen.sh
文件,但我在其他一些 tarball 中看到过它。
在 tarball 中包含或不包含 autogen.sh
的理由是什么?
I have seen many tarballs do not include an autogen.sh
file, but I have seen it in some other tarballs.
What is the rationale for including or not including autogen.sh
in a tarball?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您要从某种发布分支发布源代码发行版,那么恕我直言,无需包含此内容。
autogen.sh 应该只包含在开发版本中。
由于您使用它来生成 ./configure 等内容,因此无需在发布包中执行此操作。
当然,如果您主要针对开发人员,您的受众可能会发现 autogen.sh 文件很有用。
If you're releasing a source distribution from some kind of release branch, then IMHO there is no need to include this.
autogen.sh should only be included in development releases.
Since you use it to generate ./configure and stuff, there is no need to do this in release packages.
Of course if you're targeting developers mainly, your audience may find autogen.sh files useful.
如果您的 autogen/bootstap 的功能超出了
autoreconf
的功能,那么请务必包含它。对于修改已发布的 tarball 的人来说,它使生活变得更加容易(应用补丁后可能需要重新自动生成)。If your autogen/bootstap does more than what
autoreconf
does, then please, please, include it. It makes life much easier for people modifiying the released tarball (it might be necessary to re-autogen after a patch is applied).