Fix broken commit for ninja.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17835 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
DJ Lucas 2016-09-29 01:50:55 +00:00
parent a9eec6eb59
commit ac9552f93b

View File

@ -75,7 +75,7 @@
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">CMake Dependencies</bridgehead>
<bridgehead renderas="sect3">Ninja Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
@ -85,13 +85,15 @@
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<ulink url="http://re2c.sourceforge.net/">re2c</ulink>
(only needed to modify the build), and
<xref linkend="emacs"/>
(only needed to modify the build), <xref linkend="emacs"/> (to generate
lisp files), <xref linkend="asciidoc"/> (to build the manual), and
<xref linkend="doxygen"/> (to build API documenatation)
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/ninja"/>
</para>
</sect2>
<sect2 role="installation">
@ -138,12 +140,34 @@ install -vDm644 misc/zsh-completion \
/usr/share/emacs/site-lisp/ninja-mode.el
install -vDm644 misc/ninja-mode.elc \
/usr/share/emacs/site-lisp/ninja-mode.elc</userinput></screen>
<para>
If you have <xref linkend="asciidoc"/> installed and wish to build the
HTML manual, execute the following commands (as the
<systemitem class="username">root</systemitem> user):
</para>
<screen role="root"><userinput>ninja manual &amp;&amp;
install -vDm644 doc/ninja.html /usr/share/doc/ninja-&ninja-version;/ninja.html</userinput></screen>
<para>
If you have <xref linkend="doxygen"/> installed and wish to build the
API documentation, execute the following commands (as the
<systemitem class="username">root</systemitem> user):
</para>
<screen role="root"><userinput>ninja doxygen &amp;&amp;
install -vDm644 doc/doxygen/* /usr/share/doc/ninja-&ninja-version;/</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>...</para>
<para>
<command>emacs -Q --batch -f batch-byte-compile
misc/ninja-mode.el</command>: regenerates the emacs lisp files.
</para>
</sect2>
@ -163,7 +187,7 @@ install -vDm644 misc/ninja-mode.elc \
none
</seg>
<seg>
none
/usr/share/doc/ninja-&ninja-version;
</seg>
</seglistitem>
</segmentedlist>