diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-09-05 17:12:22 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-09-05 17:12:22 +0000 |
commit | 9f1dfbe42af6dd3089e8d507cb9e4e16e1ad7d8b (patch) | |
tree | ab0d9ecf85d6b9484f87f0724196b8c0478c2b8c | |
parent | fa5306a157acca52996cceb8bdbfd903153cdc5e (diff) |
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
-rw-r--r-- | chapter01/changelog.xml | 3 | ||||
-rw-r--r-- | chapter06/procinfo-exp.xml | 9 | ||||
-rw-r--r-- | chapter06/procinfo-inst.xml | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index c8fb5d966..bdcc5f50b 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -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> diff --git a/chapter06/procinfo-exp.xml b/chapter06/procinfo-exp.xml index fc880cb73..ecf3e6a7a 100644 --- a/chapter06/procinfo-exp.xml +++ b/chapter06/procinfo-exp.xml @@ -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> diff --git a/chapter06/procinfo-inst.xml b/chapter06/procinfo-inst.xml index 213a230a8..73ac5d067 100644 --- a/chapter06/procinfo-inst.xml +++ b/chapter06/procinfo-inst.xml @@ -3,7 +3,7 @@ <para>Install Procinfo by running the following commands:</para> -<para><screen><userinput>sed 's/-ltermcap/-lncurses/' Makefile | make -f - &&</userinput> +<para><screen><userinput>make LDLIBS=-lncurses &&</userinput> <userinput>make install</userinput></screen></para> </sect2> |