Correct SGMLSpm build instructions.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9939 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Ragnar Thomsen 2012-04-18 18:10:52 +00:00
parent a6af3ab913
commit 524e3cf055

View File

@ -634,8 +634,9 @@
<para>The SGMLSpm module is a <application>Perl</application> library
used for parsing the output from James Clark's SGMLS and NSGMLS
parsers. This module requires modified installation instructions, shown
below.</para>
parsers. The module is installed using the standard
<application>Perl</application> module
<xref linkend="perl-standard-install"/>.</para>
<itemizedlist spacing='compact'>
<listitem>
@ -645,23 +646,6 @@
</listitem>
</itemizedlist>
<para>If your system's <application>Perl</application> version is different
than &lfs-perl-version;, you'll need to modify the <command>sed</command>
command below to reflect the version you have installed.</para>
<screen><userinput>sed -i -e "s@/usr/local/bin@/usr/bin@" \
-e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/&lfs-perl-version;@" \
-e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
Makefile</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install &amp;&amp;
install -v -m755 -d /usr/share/doc/perl5 &amp;&amp;
make install_html &amp;&amp;
rm -v -f /usr/share/doc/perl5/SGMLSpm/sample.pl &amp;&amp;
install -v -m644 DOC/sample.pl /usr/share/doc/perl5/SGMLSpm</userinput></screen>
<!-- Test::Pod
<bridgehead renderas="sect3" id="perl-test-pod"
xreflabel="Test::Pod-&Test-Pod-version;">