Cleaned up build instructions for midnight commander

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9993 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Bruce Dubbs 2012-04-24 21:47:08 +00:00
parent 50f6ac18e7
commit ab0209e2ef
2 changed files with 24 additions and 4 deletions

View File

@ -12,7 +12,7 @@
<!ENTITY mc-time "0.6 SBU">
]>
<sect1 id="mc" xreflabel="MC-&mc-version;">
<sect1 id="mc" xreflabel="mc-&mc-version;">
<?dbhtml filename="mc.html"?>
<sect1info>
@ -104,14 +104,19 @@
<para>Install <application>MC</application> by
running the following commands:</para>
<screen><userinput>./configure --prefix=/usr --enable-charset --disable-static &amp;&amp;
<screen><userinput>./configure --prefix=/usr \
--enable-charset \
--disable-static \
--sysconfdir=/etc \
--with-screen=ncurses &amp;&amp;
make</userinput></screen>
<para>To test the results, issue: <userinput>make check</userinput>.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
<screen role="root"><userinput>make install &amp;&amp;
cp -v doc/keybind-migration.txt /usr/share/mc</userinput></screen>
</sect2>
@ -122,6 +127,14 @@ make</userinput></screen>
to <command>mcedit</command> for editing files in encodings different
from the one implied by the current locale.</para>
<para><parameter>--sysconfdir=/etc</parameter>: This option places the
global configureation directory in <filename
class="directory">/etc</filename>.</para>
<para><parameter>--with-screen=ncurses</parameter>: This option is only
required if the optionall <xref linkend="slang"/> package is not installed.
</para>
<para><parameter>--with-screen=(slang|ncurses)</parameter>: This
parameter selects the screen library used by <application>MC</application>.
<xref linkend="slang"/> is the default if found.</para>
@ -151,6 +164,10 @@ make</userinput></screen>
configuration file manually or through the <application>MC</application>
shell. Consult the mc(1) man page for details.</para>
<note><para> On 8.x versions of <application>mc</application>,
keybind names used in mc.keymap.* files are changed. This is
described in <filename>keybind-migration.txt</filename>.</para></note>
</sect3>
</sect2>
@ -166,7 +183,7 @@ make</userinput></screen>
<seglistitem>
<seg>mc, mcdiff, mcedit, and mcview</seg>
<seg>None</seg>
<seg>i/etc/mc, /usr/libexec/mc, and /usr/share/mc</seg>
<seg>/etc/mc, /usr/libexec/mc, and /usr/share/mc</seg>
</seglistitem>
</segmentedlist>

View File

@ -44,6 +44,9 @@
<listitem>
<para>April 24th, 2012</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Cleaned up build instructions for midnight commander.</para>
</listitem>
<listitem>
<para>[abenton] - Seamonkey 2.9.</para>
</listitem>