ソースを参照

Procinfo conversion.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2371 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Timothy Bauscher 22 年 前
コミット
97871b773d

+ 2 - 0
appendixa/procinfo-dep.xml

@@ -1,3 +1,5 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
 <sect2>
 <title>Procinfo Installation Dependencies</title>
 

+ 4 - 5
appendixa/procinfo-desc.xml

@@ -1,11 +1,10 @@
-<sect2><title>Contents of Procinfo</title>
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
 
-<para>Last checked against version &procinfo-contversion;.</para>
+<sect2><title>Descriptions</title>
 
-<sect3><title>Program Files</title>
-<para>lsdev, procinfo and socklist</para></sect3>
+<para>Last checked against version &procinfo-contversion;.</para>
 
-<sect3><title>Descriptions</title>
+<sect3><title>Program file descriptions</title>
 
 <sect4><title>lsdev</title>
 <para>lsdev gathers information about your computer's installed hardware from

+ 15 - 0
appendixa/procinfo-shortdesc.xml

@@ -0,0 +1,15 @@
+<sect2><title>Contents of Procinfo</title>
+
+<para>Last checked against version &procinfo-contversion;.</para>
+
+<para>The procinfo program gathers system data, such as memory
+usage and IRQ numbers, from the <filename>/proc</filename>
+directory and formats this data in a meaningful way.</para>
+
+<para>Procinfo installs the following:</para>
+
+<sect3><title>Program Files</title>
+<para>lsdev, procinfo and socklist</para></sect3>
+
+</sect2>
+

+ 1 - 0
appendixa/procinfo.xml

@@ -3,6 +3,7 @@
 <?dbhtml filename="procinfo.html" dir="appendixa"?>
 
 &aa-procinfo-down;
+&aa-procinfo-shortdesc;
 &aa-procinfo-desc;
 &aa-procinfo-dep;
 

+ 12 - 3
chapter06/procinfo-inst.xml

@@ -1,10 +1,19 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
 <sect2>
 <title>Installation of Procinfo</title>
 
-<para>Install Procinfo by running the following commands:</para>
+<para>Compile Procinfo:</para>
+
+<para><screen><userinput>make LDLIBS=-lncurses</userinput></screen></para>
+
+<para>The <emphasis>-lncurses</emphasis> switch overwrites the
+default switch, <emphasis>-ltermcap</emphasis>. This is done
+because libtermcap is declared obsolete in favor of libncurses.</para>
+
+<para>Finish installing the package:</para>
 
-<para><screen><userinput>make LDLIBS=-lncurses &amp;&amp;
-make install</userinput></screen></para>
+<para><screen><userinput>make install</userinput></screen></para>
 
 </sect2>
 

+ 2 - 3
chapter06/procinfo.xml

@@ -5,9 +5,8 @@
 <screen>Estimated build time:           &procinfo-time;
 Estimated required disk space:  &procinfo-compsize;</screen>
 
-&c6-procinfo-inst;
-&c6-procinfo-exp;
-&aa-procinfo-desc;
+&aa-procinfo-shortdesc;
 &aa-procinfo-dep;
+&c6-procinfo-inst;
 
 </sect1>

+ 1 - 1
entities/procinfo.ent

@@ -1,13 +1,13 @@
 <!ENTITY c4-procinfo SYSTEM "../chapter04/procinfo.xml">
 
 <!ENTITY c6-procinfo SYSTEM "../chapter06/procinfo.xml">
-<!ENTITY c6-procinfo-exp SYSTEM "../chapter06/procinfo-exp.xml">
 <!ENTITY c6-procinfo-inst SYSTEM "../chapter06/procinfo-inst.xml">
 
 <!ENTITY aa-procinfo SYSTEM "../appendixa/procinfo.xml">
 <!ENTITY aa-procinfo-desc SYSTEM "../appendixa/procinfo-desc.xml">
 <!ENTITY aa-procinfo-dep SYSTEM "../appendixa/procinfo-dep.xml">
 <!ENTITY aa-procinfo-down SYSTEM "../appendixa/procinfo-down.xml">
+<!ENTITY aa-procinfo-shortdesc SYSTEM "../appendixa/procinfo-shortdesc.xml">
 
 <!ENTITY procinfo-version "18">
 <!ENTITY procinfo-depversion "18">