mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
d6323ad3ae
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@73 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
15 lines
479 B
Plaintext
15 lines
479 B
Plaintext
<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 favour of libncurses.
|
|
</para>
|
|
|
|
</sect2>
|
|
|