mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
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:
parent
a6af3ab913
commit
524e3cf055
@ -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 &&
|
||||
install -v -m755 -d /usr/share/doc/perl5 &&
|
||||
make install_html &&
|
||||
rm -v -f /usr/share/doc/perl5/SGMLSpm/sample.pl &&
|
||||
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;">
|
||||
|
Loading…
Reference in New Issue
Block a user