Rmove installation of help2man from lsb_release, and reference GNU help2man

in packages that can use it (maybe not complete)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19941 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Pierre Labastie 2018-03-11 18:11:34 +00:00
parent 3a58850626
commit 7f80ece503
5 changed files with 12 additions and 27 deletions

View File

@ -80,7 +80,8 @@
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="gtk-doc"/>
<xref linkend="gtk-doc"/> and
<ulink url="https://ftp.gnu.org/gnu/help2man/">help2man</ulink>
</para>
<para condition="html" role="usernotes">User Notes:

View File

@ -85,7 +85,8 @@
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="gtk-doc"/>
<xref linkend="gtk-doc"/> and
<ulink url="https://ftp.gnu.org/gnu/help2man/">help2man</ulink>
</para>
<para condition="html" role="usernotes">User Notes:

View File

@ -94,7 +94,8 @@
<para role="optional">
<xref linkend="dbus"/> (Required for the tests),
<xref linkend="graphviz"/> (Required for valadoc),
<xref linkend="libxslt"/> (Required for generating the documentation)
<xref linkend="libxslt"/> (Required for generating the documentation), and
<ulink url="https://ftp.gnu.org/gnu/help2man/">help2man</ulink>
</para>
<para condition="html" role="usernotes">User Notes:

View File

@ -78,8 +78,7 @@
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>install -v -m 644 lsb_release.1 /usr/share/man/man1 &amp;&amp;
install -v -m 755 lsb_release /usr/bin &amp;&amp;
install -v -m 755 help2man /usr/bin</userinput></screen>
install -v -m 755 lsb_release /usr/bin</userinput></screen>
</sect2>
@ -92,14 +91,7 @@ install -v -m 755 help2man /usr/bin</userinput></screen>
The file <filename>/etc/lsb-release</filename> should already exist.
Be sure that the DISTRIB_CODENAME entry has been set properly.
</para>
<!--
<para>
Add the current package version to <filename>/etc/lsb-release</filename>.
As the <systemitem class="username">root</systemitem> user:
</para>
<screen><userinput>echo 'LSB_VERSION="&lsb-release-version;"' >> /etc/lsb-release</userinput></screen>
-->
</sect2>
<sect2 role="content">
@ -112,8 +104,7 @@ install -v -m 755 help2man /usr/bin</userinput></screen>
<seglistitem>
<seg>
lsb_release and
help2man
lsb_release
</seg>
<seg>None</seg>
<seg>None</seg>
@ -134,17 +125,6 @@ install -v -m 755 help2man /usr/bin</userinput></screen>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="help2man">
<term><command>help2man</command></term>
<listitem>
<para>is a perl script to generate a man page from '--help'
and '--version' output.</para>
<indexterm zone="lsb-release help2man">
<primary sortas="b-help2man">help2man</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>

View File

@ -96,7 +96,8 @@
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="cantarell-fonts"/> (for tests),
<xref linkend="gtk-doc"/>, and
<xref linkend="gtk-doc"/>,
<ulink url="https://ftp.gnu.org/gnu/help2man">help2man</ulink>, and
<ulink url="https://linux.thai.net/projects/libthai">libthai</ulink>
</para>
@ -128,7 +129,8 @@ ninja</userinput></screen>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>ninja install</userinput></screen>
<screen role="root"><userinput>ninja install &amp;&amp;
install -vm 644 pango-view/pango-view.1.in /usr/share/man/man1/pango-view.1</userinput></screen>
</sect2>