aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/ncurses.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/ncurses.xml')
-rw-r--r--chapter06/ncurses.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml
index 00d5de42c..a2092bdda 100644
--- a/chapter06/ncurses.xml
+++ b/chapter06/ncurses.xml
@@ -121,16 +121,16 @@
rm -vf /usr/lib/lib${lib}.so ; \
echo "INPUT(-l${lib}w)" >/usr/lib/lib${lib}.so ; \
ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a ; \
-done &&
+done
ln -sfv libncurses++w.a /usr/lib/libncurses++.a</userinput></screen>
<para>Finally, make sure that old applications that look for
<filename class="libraryfile">-lcurses</filename> at build time are still
buildable:</para>
-<screen><userinput>echo "INPUT(-lncursesw)" &gt;/usr/lib/libcursesw.so &amp;&amp;
-ln -sfv libncurses.so /usr/lib/libcurses.so &amp;&amp;
-ln -sfv libncursesw.a /usr/lib/libcursesw.a &amp;&amp;
+<screen><userinput>echo "INPUT(-lncursesw)" &gt;/usr/lib/libcursesw.so
+ln -sfv libncurses.so /usr/lib/libcurses.so
+ln -sfv libncursesw.a /usr/lib/libcursesw.a
ln -sfv libncurses.a /usr/lib/libcurses.a</userinput></screen>
<note>
@@ -140,10 +140,10 @@ ln -sfv libncurses.a /usr/lib/libcurses.a</userinput></screen>
of some binary-only application, build them with the following
commands:</para>
-<screen role="nodump"><userinput>make distclean &amp;&amp;
+<screen role="nodump"><userinput>make distclean
./configure --prefix=/usr --with-shared --without-normal \
- --without-debug --without-cxx-binding &amp;&amp;
-make sources libs &amp;&amp;
+ --without-debug --without-cxx-binding
+make sources libs
cp -av lib/lib*.so.5* /usr/lib</userinput></screen>
</note>