autoreconf清理

Chr*_*ris 8 autotools

我用来autoreconf --install为我的项目生成配置脚本等.是否有"清理"选项,或其他一些简单的方法来清理autoreconf生成的文件?使用生成的Makefile configure,我可以做一个make distclean,但我想通过删除Makefile.in等文件来进一步清理我的目录.

pto*_*ato 13

该命令被调用make maintainer-clean.autoreconf除了少数例外,它将删除几乎所有生成的内容.两个值得注意的例外是configureMakefile.in.

  • http://www.gnu.org/prep/standards/html_node/Standard-Targets.html 描述了 `distclean` 和 `mainainer-clean` 之间的区别。在我的项目中,它们的行为完全相同,尽管一般来说,maintainer-clean 删除了 distclean 的超集。两者都留下Makefile.in、configure、config.h.in、aclocal.m4、m4/中生成的文件以及build-aux中生成的文件。 (2认同)