Changed procinfo's installation -- removed the sed, replaced with an

option to make ('make LDLIBS=-lncurses')


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1177 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2001-09-05 17:12:22 +00:00
parent fa5306a157
commit 9f1dfbe42a
3 changed files with 7 additions and 7 deletions

View File

@ -5,6 +5,9 @@
<itemizedlist>
<listitem><para>September 2nd, 2001 [markh]: Chapter 6 - Procinfo:
Removed sed and replaced with a flag to make.</para></listitem>
<listitem><para>September 5th, 2001 [markh]: Chapter 6 - E2fsprogs:
Added explanation as to why we use --with-root-prefix=/</para></listitem>

View File

@ -1,12 +1,9 @@
<sect2>
<title>Command explanations</title>
<para><userinput>sed 's/-ltermcap/-lncurses/' Makefile | make -f -:</userinput>
This will replace -ltermcap with -lncurses in the Makefile and pipe the
output of sed (the modified Makefile) directly to the make program. This
is an alternate and more efficient way to direct the output to a file
and tell make to use that alternate file. We do this because libtermcap
is declared obsolete in favor of libncurses.</para>
<para><userinput>make LDLIBS=-lncurses :</userinput> This will use
-lncurses instead of -ltermcap when building procinfo. This is done
because libtermcap is declared obsolete in favor of libncurses.</para>
</sect2>

View File

@ -3,7 +3,7 @@
<para>Install Procinfo by running the following commands:</para>
<para><screen><userinput>sed 's/-ltermcap/-lncurses/' Makefile | make -f - &amp;&amp;</userinput>
<para><screen><userinput>make LDLIBS=-lncurses &amp;&amp;</userinput>
<userinput>make install</userinput></screen></para>
</sect2>