source: clfs-sysroot/BOOK/final-system/common/sed.xml @ 6cbb14c

Last change on this file since 6cbb14c was 6cbb14c, checked in by Joe Ciccone <jciccone@…>, 15 years ago

Install the HTML documentation seperately.

  • Property mode set to 100644
File size: 2.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4  <!ENTITY % general-entities SYSTEM "../../general.ent">
5  %general-entities;
6]>
7
8<sect1 id="ch-system-sed" role="wrap">
9  <?dbhtml filename="sed.html"?>
10
11  <title>Sed-&sed-version;</title>
12
13  <indexterm zone="ch-system-sed">
14    <primary sortas="a-Sed">Sed</primary>
15  </indexterm>
16
17  <sect2 role="package">
18    <title/>
19
20    <para>The Sed package contains a stream editor.</para>
21
22  </sect2>
23
24  &env-target;
25
26  <sect2 role="installation">
27    <title>Installation of Sed</title>
28
29    <para os="a">Prepare Sed for compilation:</para>
30
31<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
32    --prefix=/usr --bindir=/bin</userinput></screen>
33
34    <para os="c">Compile the package:</para>
35
36<screen os="d"><userinput>make</userinput></screen>
37
38    <para os="e">Build the HTML documentation:</para>
39
40<screen os="f"><userinput>make html</userinput></screen>
41
42    <para os="g">Install the package:</para>
43
44<screen os="h"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
45
46    <para os="i">Install the HTML documentation:</para>
47
48<screen os="j"><userinput>make -C doc DESTDIR=${CLFS} install-html</userinput></screen>
49
50  </sect2>
51
52  <sect2 id="contents-sed" role="content">
53    <title>Contents of Sed</title>
54
55    <segmentedlist>
56      <segtitle>Installed program</segtitle>
57
58      <seglistitem>
59        <seg>sed</seg>
60      </seglistitem>
61    </segmentedlist>
62
63    <variablelist>
64      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
65      <?dbfo list-presentation="list"?>
66      <?dbhtml list-presentation="table"?>
67
68      <varlistentry id="sed">
69        <term><command>sed</command></term>
70        <listitem>
71          <para>Filters and transforms text files in a single pass</para>
72          <indexterm zone="ch-system-sed sed">
73            <primary sortas="b-sed">sed</primary>
74          </indexterm>
75        </listitem>
76      </varlistentry>
77
78    </variablelist>
79
80  </sect2>
81
82</sect1>
Note: See TracBrowser for help on using the repository browser.