blob: 0b0684ff7fab2ee9129d18ab7227bb56676edec4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<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>
|