8.48 Automake-1.18.1

Automake 软件包包含用于生成与 Autoconf 配合使用的 Makefile 的程序。

大致构建时间: 少于 0.1 SBU(含测试约 1.1 SBU)
所需磁盘空间: 124 MB

8.48.1 安装 Automake

准备编译 Automake:

./configure --prefix=/usr --docdir=/usr/share/doc/automake-1.18.1

编译该软件包:

make

使用四个并行任务可以加快测试速度,即使在逻辑核心较少的系统上也是如此,这是由于各个测试内部存在延迟。要测试结果,请运行:

make -j$(($(nproc)>4?$(nproc):4)) check

如果你不想使用全部逻辑核心,请将 $((...)) 替换为你想要使用的逻辑核心数。

安装该软件包:

make install

8.48.2 Automake 的内容

安装的程序: aclocal、aclocal-1.18(与 aclocal 硬链接)、automake 和 automake-1.18(与 automake 硬链接)
安装的目录: /usr/share/aclocal-1.18、 /usr/share/automake-1.18 和 /usr/share/doc/automake-1.18.1

简要说明

aclocal

根据 configure.in 文件的内容生成 aclocal.m4 文件

aclocal-1.18

指向 aclocal 的硬链接

automake

一个根据 Makefile.am 文件自动生成 Makefile.in 文件的工具 [要为某个软件包创建所有 Makefile.in 文件,请在顶层目录中运行此程序。通过扫描 configure.in 文件,它会自动找到每个合适的 Makefile.am 文件并生成相应的 Makefile.in 文件。]

automake-1.18

指向 automake 的硬链接

  • 上一级
  • 首页