coreutils: Better explain the autoreconf and automake commands

This commit is contained in:
Xi Ruoyao 2025-02-08 09:17:21 +08:00
parent 94dc9c26d2
commit 3f2235c907
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -62,22 +62,28 @@ FORCE_UNSAFE_CONFIGURE=1 ./configure \
--enable-no-install-program=kill,uptime</userinput></screen> --enable-no-install-program=kill,uptime</userinput></screen>
<variablelist> <variablelist>
<title>The meaning of the configure options:</title> <title>The meaning of the commands and configure options:</title>
<varlistentry> <varlistentry>
<term><command>autoreconf</command></term> <term><command>autoreconf -fv</command></term>
<listitem> <listitem>
<para>The patch for internationalization has modified the <para>The patch for internationalization has modified the
build system, so the configuration files must build system, so the configuration files must
be regenerated.</para> be regenerated. Normally we would use the
<parameter>-i</parameter> option to update the standard
auxilary files, but for this package it does not work because
<filename>configure.ac</filename> specified an old gettext
version.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><command>automake</command></term> <term><command>automake -af</command></term>
<listitem> <listitem>
<para>Work around a problem with an older versions of autotools. <para>The automake auxilary files were not updated by
</para> <command>autoreconf</command> due to the missing
<parameter>-i</parameter> option. This command updates them
to prevent a build failure.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>