【发布时间】:2012-05-09 03:49:13
【问题描述】:
我正在尝试将 autogen.sh (http://buildconf.brlcad.org/) 与 gummi (http://dev.midnightcoding.org/projects/gummi) 一起使用,这样当我进行更改时,例如,configure.ac,我的补丁也不必包含对配置的更改。如果我下载最新版本的 gummi 源代码,删除 po/Makefile.in.in,放入 autogen.sh 并运行它,autogen.sh 会成功完成
Preparing the Gummi build system...please wait
Found GNU Autoconf version 2.68
Found GNU Automake version 1.11.1
Found GNU Libtool version 2.4
Automatically preparing build ... done
The Gummi build system is now prepared. To build here, run:
./configure
make
但不生成 po/Makefile.in.in。但是,如果我运行 intltoolize,则会生成 po/Makefile.in.in。查看 autogen.sh 的源代码表明它有时会运行 intltoolize。这是 autogen.sh 中的错误吗? configure.ac(或其他文件)是否有某种方式告诉 autogen 运行 intltoolize? intltoolize 生成的文件是否应该包含在所有发行版中?
【问题讨论】:
-
一般来说,避免包含更改生成文件(如配置)的补丁的最佳方法是不将它们保留在版本控制中。
标签: makefile autotools autoreconf