Tweaked the explanation of the symbolic link we make for Yelp on the Gnumeric page

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5859 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Andrew Benton 2006-04-14 17:46:01 +00:00
parent cdb3954e9e
commit 75df43ed0f

View File

@ -106,8 +106,17 @@ make</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role='root'><userinput>make install &amp;&amp;
ln -v -s $(pkg-config --variable=prefix \
<screen role='root'><userinput>make install</userinput></screen>
<para>There is a bug in the program. The help system looks for the docs in
one location, but they are actually installed in the wrong place. See
<ulink url="http://bugzilla.gnome.org/show_bug.cgi?id=330339"/>. If you have
<xref linkend="yelp"/> installed and would like to be able to use it to view
the help documentation from within <application>Gnumeric</application>, work
around the problem by creating a symbolic link. As
<systemitem class="username">root</systemitem>:</para>
<screen role='root'><userinput>ln -vsf $(pkg-config --variable=prefix \
ORBit-2.0)/share/gnome/help/gnumeric \
/usr/share/gnumeric/&gnumeric-version;/doc</userinput></screen>
@ -119,8 +128,8 @@ ln -v -s $(pkg-config --variable=prefix \
<screen role='root'><userinput>ln -v -s /usr/lib/bonobo/servers/GNOME_Gnumeric.server \
$(pkg-config --variable=prefix ORBit-2.0)/lib/bonobo/servers</userinput></screen>
<para>If you have <xref linkend="gnome-doc-utils"/> installed, convert the
XML help files into HTML by issuing the following commands:</para>
<para>If you have <xref linkend="gnome-doc-utils"/> installed you can
convert the XML help files into HTML by issuing the following commands:</para>
<screen><userinput>./configure \
--prefix=$(pkg-config --variable=prefix gnome-doc-utils) &amp;&amp;
@ -131,7 +140,8 @@ make -C doc html</userinput></screen>
<screen role='root'><userinput>install -v -m755 -d /usr/share/doc/gnumeric-&gnumeric-version;/figures &amp;&amp;
install -v -m644 doc/C/html/* /usr/share/doc/gnumeric-&gnumeric-version; &amp;&amp;
install -v -m644 doc/C/figures/* /usr/share/doc/gnumeric-&gnumeric-version;/figures &amp;&amp;
install -v -m644 doc/C/figures/* \
/usr/share/doc/gnumeric-&gnumeric-version;/figures &amp;&amp;
ln -v -s /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;/images \
/usr/share/doc/gnumeric-&gnumeric-version;/stylesheet</userinput></screen>
@ -167,13 +177,6 @@ rm -v /usr/share/doc/gnumeric-&gnumeric-version;/developer/Makefile*</userinput>
This rebuilds the <filename>Makefile</filename>s with the same prefix as
<application>GNOME Doc Utils</application></para>
<para><command>ln ... share/gnome/help/gnumeric
/usr/share/gnumeric/&gnumeric-version;/doc</command>:
This command is used to create a symlink required because of a bug in
the program. The help system looks for the docs in one location, but they
are actually installed in another. See
<ulink url="http://bugzilla.gnome.org/show_bug.cgi?id=330339"/>.</para>
<para><command>make -C doc html</command>: This command runs
<command>make</command> in the <filename class="directory">doc</filename>
directory with html as the <filename>Makefile</filename> target.</para>