source: BOOK/final-system/common/sed.xml@ f8d4d07

sysvinit
Last change on this file since f8d4d07 was c873165, checked in by William Harrington <kb0iic@…>, 11 years ago

Install documentation with versioned directory and add/update installed directories.

  • Property mode set to 100644
File size: 2.2 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]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 <sect2 role="installation">
25 <title>Installation of Sed</title>
26
[2df5a38]27 <para os="a">Prepare Sed for compilation:</para>
[3f8be484]28
[c873165]29<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin \
30 --docdir=/usr/share/doc/sed-&sed-version;</userinput></screen>
[3f8be484]31
[34694b6]32 <para os="c">Compile the package:</para>
[3f8be484]33
[34694b6]34<screen os="d"><userinput>make</userinput></screen>
[3f8be484]35
[34694b6]36 <para os="e"> Build the HTML documentation:</para>
[3f8be484]37
[34694b6]38<screen os="f"><userinput>make html</userinput></screen>
[3f8be484]39
[686839b]40 <para os="g">To test the results, issue:</para>
41
42<screen os="g2"><userinput remap="test">make check</userinput></screen>
[3f8be484]43
[34694b6]44 <para os="h">Install the package:</para>
45
46<screen os="i"><userinput>make install</userinput></screen>
47
48 <para os="j">Install the HTML documentation:</para>
[3f8be484]49
[34694b6]50<screen os="k"><userinput>make -C doc install-html</userinput></screen>
[3f8be484]51
52 </sect2>
53
54 <sect2 id="contents-sed" role="content">
55 <title>Contents of Sed</title>
56
57 <segmentedlist>
58 <segtitle>Installed program</segtitle>
[61ad0b7f]59 <segtitle>Installed directory</segtitle>
[3f8be484]60
61 <seglistitem>
62 <seg>sed</seg>
[c873165]63 <seg>/usr/share/doc/sed-&sed-version;</seg>
[3f8be484]64 </seglistitem>
65 </segmentedlist>
66
67 <variablelist>
68 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
69 <?dbfo list-presentation="list"?>
70 <?dbhtml list-presentation="table"?>
71
72 <varlistentry id="sed">
73 <term><command>sed</command></term>
74 <listitem>
75 <para>Filters and transforms text files in a single pass</para>
76 <indexterm zone="ch-system-sed sed">
77 <primary sortas="b-sed">sed</primary>
78 </indexterm>
79 </listitem>
80 </varlistentry>
81
82 </variablelist>
83
84 </sect2>
85
86</sect1>
Note: See TracBrowser for help on using the repository browser.