Merge XML::Parser into Perl page.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10154 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Krejzi 2013-02-15 18:17:18 +00:00
parent 24c15531dd
commit 27de9a4fc5
3 changed files with 27 additions and 93 deletions

View File

@ -52,7 +52,6 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="expat.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="expat.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="inetutils.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="inetutils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="perl.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="perl.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xml-parser.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="autoconf.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="autoconf.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="automake.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="automake.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="diffutils.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="diffutils.xml"/>

View File

@ -117,6 +117,33 @@
<para>Install the package:</para> <para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen>
</sect2>
<sect2 role="installation">
<title>Installation of XML::Parser</title>
<para>Extract the XML::Parser tarball and change to the extracted
directory:</para>
<screen><userinput remap="pre">tar xf ../XML-Parser-&xml-parser-version;.tar.gz
cd XML-Parser-&xml-parser-version;</userinput></screen>
<para>Prepare XML::Parser for compilation:</para>
<screen><userinput remap="configure">perl Makefile.PL</userinput></screen>
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>
<para>To test the results, issue:</para>
<screen><userinput remap="test">make test</userinput></screen>
<para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen> <screen><userinput remap="install">make install</userinput></screen>
</sect2> </sect2>

View File

@ -1,92 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities;
]>
<sect1 id="ch-system-xml-parser" role="wrap">
<?dbhtml filename="xml-parser.html"?>
<sect1info condition="script">
<productname>xml-parser</productname>
<productnumber>&xml-parser-version;</productnumber>
<address>&xml-parser-url;</address>
</sect1info>
<title>XML::Parser-&xml-parser-version;</title>
<indexterm zone="ch-system-xml-parser">
<primary sortas="a-Xml-Parser">XML::Parser</primary>
</indexterm>
<sect2 role="package">
<title/>
<para>The XML::Parser module is a Perl extension interface to James Clark's
XML parser, expat.</para>
<segmentedlist>
<segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
<seglistitem>
<seg>&xml-parser-ch6-sbu;</seg>
<seg>&xml-parser-ch6-du;</seg>
</seglistitem>
</segmentedlist>
</sect2>
<sect2 role="installation">
<title>Installation of XML::Parser</title>
<para>Prepare XML::Parser for compilation:</para>
<screen><userinput remap="configure">perl Makefile.PL</userinput></screen>
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>
<para>To test the results, issue:</para>
<screen><userinput remap="test">make test</userinput></screen>
<para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen>
</sect2>
<sect2 id="contents-xml-parser" role="content">
<title>Contents of XML::Parser</title>
<segmentedlist>
<segtitle>Installed programs</segtitle>
<seglistitem>
<seg>placeholder</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="placeholder">
<term><command>placeholder</command></term>
<listitem>
<para>Unknown</para>
<indexterm zone="ch-system-xml-parser placeholder">
<primary sortas="b-placeholder">placeholder</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>