It seems someone just copied MPFR short descriptions here, and then
forgot to edit it.

When I wanted to copy the descriptions from Meson man pages, I found
that they are misplaced in Meson Python modules directory.  Move them
to standard `/usr/share/man/man1` so we can read them with `man`.
-- 
Xi Ruoyao <r...@stu.xidian.edu.cn>
School of Aerospace Science and Technology, Xidian University
From d5d445c49579383ae04389f138f1f1e227390ace Mon Sep 17 00:00:00 2001
From: Xi Ruoyao <r...@stu.xidian.edu.cn>
Date: Mon, 16 Apr 2018 16:04:53 +0800
Subject: [PATCH 1/2] Fix meson short descriptions

---
 chapter06/meson.xml | 55 +++++++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 47 insertions(+), 8 deletions(-)

diff --git a/chapter06/meson.xml b/chapter06/meson.xml
index 5bc2fce6..0caf738e 100644
--- a/chapter06/meson.xml
+++ b/chapter06/meson.xml
@@ -57,12 +57,12 @@
     <title>Contents of Meson</title>
 
     <segmentedlist>
-      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed programs</segtitle>
       <segtitle>Installed directory</segtitle>
 
       <seglistitem>
-        <seg>libmeson.so</seg>
-        <seg>/usr/share/doc/meson-&meson-version;</seg>
+        <seg>meson, mesonconf, mesonintrospect, mesontest, and wraptool</seg>
+		<seg>/usr/lib/python3.6/site-packages/meson-&meson-version;-py3.6.egg</seg>
       </seglistitem>
     </segmentedlist>
 
@@ -71,16 +71,55 @@
       <?dbfo list-presentation="list"?>
       <?dbhtml list-presentation="table"?>
 
-      <varlistentry id="libmeson">
-        <term><filename class="libraryfile">libmeson</filename></term>
+      <varlistentry id="meson">
+		<term><command>meson</command></term>
         <listitem>
-          <para>Contains multiple-precision math functions</para>
-          <indexterm zone="ch-system-meson libmeson">
-            <primary sortas="c-libmeson">libmeson</primary>
+          <para>A high productivity build system</para>
+          <indexterm zone="ch-system-meson meson">
+            <primary sortas="b-meson">meson</primary>
           </indexterm>
         </listitem>
       </varlistentry>
 
+      <varlistentry id="mesonconf">
+		<term><command>mesonconf</command></term>
+        <listitem>
+          <para>A tool to configure Meson builds</para>
+          <indexterm zone="ch-system-meson mesonconf">
+            <primary sortas="b-mesonconf">mesonconf</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="mesonintrospect">
+		<term><command>mesonintrospect</command></term>
+        <listitem>
+          <para>A tool to extract information about a Meson build</para>
+          <indexterm zone="ch-system-meson mesonintrospect">
+            <primary sortas="b-mesonintrospect">mesonintrospect</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="mesontest">
+		<term><command>mesontest</command></term>
+        <listitem>
+          <para>Test tool for the Meson build system</para>
+          <indexterm zone="ch-system-meson mesontest">
+            <primary sortas="b-mesontest">mesontest</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="wraptool">
+		<term><command>wraptool</command></term>
+        <listitem>
+          <para>Source dependency downloader</para>
+          <indexterm zone="ch-system-meson wraptool">
+            <primary sortas="b-wraptool">wraptool</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
     </variablelist>
 
   </sect2>
-- 
2.16.2

From ee181239055937584f0d2770e459c8a50f0e7de0 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao <r...@stu.xidian.edu.cn>
Date: Mon, 16 Apr 2018 16:23:52 +0800
Subject: [PATCH 2/2] Move Meson man pages to correct location

---
 chapter06/meson.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/chapter06/meson.xml b/chapter06/meson.xml
index 0caf738e..b7cf3862 100644
--- a/chapter06/meson.xml
+++ b/chapter06/meson.xml
@@ -50,6 +50,12 @@
 
 <screen><userinput remap="install">python3 setup.py install</userinput></screen>
 
+    <para>At last, move Meson man pages to correct location:</para>
+
+<screen><userinput remap="install">mv -v /usr/lib/python3.6/site-packages/meson-&meson-version;-py3.6.egg/share/man/man1/*.1 \
+    /usr/share/man/man1
+rmdir /usr/lib/python3.6/site-packages/meson-&meson-version;-py3.6.egg/share{/man{/man1,},}</userinput></screen>
+
   </sect2>
 
 
-- 
2.16.2

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to