autogen.sh 是否应该包含在 tarball 中?

发布于 2024-09-16 11:39:45 字数 132 浏览 5 评论 0原文

我看到许多 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

本王不退位尔等都是臣 2024-09-23 11:39:45

如果您要从某种发布分支发布源代码发行版,那么恕我直言,无需包含此内容。

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.

浪漫之都 2024-09-23 11:39:45

如果您的 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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文