1
0
Quellcode durchsuchen

converted sh-utils

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2322 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans vor 22 Jahren
Ursprung
Commit
e397c3ada5

+ 2 - 0
appendixa/sed-dep.xml

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

+ 4 - 5
appendixa/sed-desc.xml

@@ -1,11 +1,10 @@
-<sect2><title>Contents of Sed</title>
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
 
-<para>Last checked against version &sed-contversion;.</para>
+<sect2><title>Descriptions</title>
 
-<sect3><title>Program Files</title>
-<para>sed</para></sect3>
+<para>Last checked against version &sed-contversion;.</para>
 
-<sect3><title>Descriptions</title>
+<sect3><title>Program file descriptions</title>
 
 <sect4><title>sed</title>
 <para>sed is a stream editor. A stream editor is used to perform basic text 

+ 1 - 0
appendixa/sed.xml

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

+ 2 - 0
appendixa/shellutils-dep.xml

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

+ 4 - 9
appendixa/shellutils-desc.xml

@@ -1,15 +1,10 @@
-<sect2><title>Contents of Sh-utils</title>
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
 
-<para>Last checked against version &sh-utils-contversion;.</para>
+<sect2><title>Descriptions</title>
 
-<sect3><title>Program Files</title>
-<para>basename, chroot, date, dirname,
-echo, env, expr, factor, false, groups, hostid, id, logname,
-nice, nohup, pathchk, pinky, printenv, printf, pwd, seq, sleep, stty,
-su, tee, test, true, tty, uname, uptime, users, who, whoami and
-yes</para></sect3>
+<para>Last checked against version &sh-utils-contversion;.</para>
 
-<sect3><title>Descriptions</title>
+<sect3><title>Program file descriptions</title>
 
 <sect4><title>basename</title>
 <para>basename strips directory and suffixes from filenames.</para></sect4>

+ 1 - 0
appendixa/shellutils.xml

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

+ 12 - 4
chapter05/sed-inst.xml

@@ -1,12 +1,20 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
 <sect2>
 <title>Installation of Sed</title>
 
-<para>Install Sed by running the following commands:</para>
+<para>Prepare Sed to be compiled:</para>
 
 <para><screen><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2 \
-&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls &amp;&amp;
-make &amp;&amp;
-make install</userinput></screen></para>
+&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls</userinput></screen></para>
+
+<para>Continue with installing the package:</para>
+
+<para><screen><userinput>make</userinput></screen></para>
+
+<para>And finish off installing the package:</para>
+
+<para><screen><userinput>make install</userinput></screen></para>
 
 </sect2>
 

+ 2 - 2
chapter05/sed.xml

@@ -5,9 +5,9 @@
 <screen>Estimated build time:           &sed-time-static;
 Estimated required disk space:  &sed-compsize-static;</screen>
 
-&c5-sed-inst;
-&aa-sed-desc;
+&aa-sed-shortdesc;
 &aa-sed-dep;
+&c5-sed-inst;
 
 </sect1>
 

+ 10 - 4
chapter05/shellutils-inst.xml

@@ -10,12 +10,18 @@ it.</para>
 
 <para><screen><userinput>patch -Np1 -i ../sh-utils-&sh-utils-version;.patch</userinput></screen></para>
 
-<para>Install Sh-utils by running the following commands:</para>
+<para>Prepare Sh-utils to be compiled:</para>
 
 <para><screen><userinput>LDFLAGS="-static" ./configure --prefix=$LFS/static \
-&nbsp;&nbsp;&nbsp;&nbsp;--disable-nls &amp;&amp;
-make &amp;&amp;
-make install</userinput></screen></para>
+&nbsp;&nbsp;&nbsp;&nbsp;--disable-nls</userinput></screen></para>
+
+<para>Continue with compiling the package:</para>
+
+<para><screen><userinput>make</userinput></screen></para>
+
+<para>And finish off installing the package:</para>
+
+<para><screen><userinput>make install</userinput></screen></para>
 
 <para>During the make install stage you will see the following warning:</para>
 

+ 2 - 2
chapter05/shellutils.xml

@@ -5,9 +5,9 @@
 <screen>Estimated build time:           &sh-utils-time-static;
 Estimated required disk space:  &sh-utils-compsize-static;</screen>
 
-&c5-shellutils-inst;
-&aa-shellutils-desc;
+&aa-shellutils-shortdesc;
 &aa-shellutils-dep;
+&c5-shellutils-inst;
 
 </sect1>
 

+ 1 - 0
entities/sed.ent

@@ -7,6 +7,7 @@
 <!ENTITY c6-sed-inst SYSTEM "../chapter06/sed-inst.xml">
 
 <!ENTITY aa-sed SYSTEM "../appendixa/sed.xml">
+<!ENTITY aa-sed-shortdesc SYSTEM "../appendixa/sed-shortdesc.xml">
 <!ENTITY aa-sed-desc SYSTEM "../appendixa/sed-desc.xml">
 <!ENTITY aa-sed-dep SYSTEM "../appendixa/sed-dep.xml">
 <!ENTITY aa-sed-down SYSTEM "../appendixa/sed-down.xml">

+ 1 - 0
entities/shellutils.ent

@@ -10,6 +10,7 @@
 <!ENTITY c6-shellutils-exp SYSTEM "../chapter06/shellutils-exp.xml">
 
 <!ENTITY aa-shellutils SYSTEM "../appendixa/shellutils.xml">
+<!ENTITY aa-shellutils-shortdesc SYSTEM "../appendixa/shellutils-shortdesc.xml">
 <!ENTITY aa-shellutils-desc SYSTEM "../appendixa/shellutils-desc.xml">
 <!ENTITY aa-shellutils-dep SYSTEM "../appendixa/shellutils-dep.xml">
 <!ENTITY aa-shellutils-down SYSTEM "../appendixa/shellutils-down.xml">