source: chapter06/sed.xml@ fe05b08

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since fe05b08 was fe05b08, checked in by Bruce Dubbs <bdubbs@…>, 14 years ago

Add installed directories information to
each package. Thanks to Chris Staub for the patch.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9285 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.9 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 <sect1info condition="script">
12 <productname>sed</productname>
13 <productnumber>&sed-version;</productnumber>
14 <address>&sed-url;</address>
15 </sect1info>
16
17 <title>Sed-&sed-version;</title>
18
19 <indexterm zone="ch-system-sed">
20 <primary sortas="a-Sed">Sed</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Sed package contains a stream editor.</para>
27
28 <segmentedlist>
29 <segtitle>&buildtime;</segtitle>
30 <segtitle>&diskspace;</segtitle>
31
32 <seglistitem>
33 <seg>&sed-ch6-sbu;</seg>
34 <seg>&sed-ch6-du;</seg>
35 </seglistitem>
36 </segmentedlist>
37
38 </sect2>
39
40 <sect2 role="installation">
41 <title>Installation of Sed</title>
42
43 <para>Prepare Sed for compilation:</para>
44
45<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin --htmldir=/usr/share/doc/sed-&sed-version;</userinput></screen>
46
47 <variablelist>
48 <title>The meaning of the new configure option:</title>
49
50 <varlistentry>
51 <term><parameter>--htmldir</parameter></term>
52 <listitem>
53 <para>This sets the directory where the HTML documentation will be
54 installed to.</para>
55 </listitem>
56 </varlistentry>
57 </variablelist>
58
59 <para>Compile the package:</para>
60
61<screen><userinput remap="make">make</userinput></screen>
62
63 <para>Generate the HTML documentation:</para>
64
65<screen><userinput remap="make">make html</userinput></screen>
66
67 <para>To test the results, issue:</para>
68
69<screen><userinput remap="test">make check</userinput></screen>
70
71 <para>Install the package:</para>
72
73<screen><userinput remap="install">make install</userinput></screen>
74
75 <para>Install the HTML documentation:</para>
76
77<screen><userinput remap="install">make -C doc install-html</userinput></screen>
78
79 </sect2>
80
81 <sect2 id="contents-sed" role="content">
82 <title>Contents of Sed</title>
83
84 <segmentedlist>
85 <segtitle>Installed program</segtitle>
86 <segtitle>Installed directory</segtitle>
87
88 <seglistitem>
89 <seg>sed</seg>
90 <seg>/usr/share/doc/sed-&sed-version;</seg>
91 </seglistitem>
92 </segmentedlist>
93
94 <variablelist>
95 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
96 <?dbfo list-presentation="list"?>
97 <?dbhtml list-presentation="table"?>
98
99 <varlistentry id="sed">
100 <term><command>sed</command></term>
101 <listitem>
102 <para>Filters and transforms text files in a single pass</para>
103 <indexterm zone="ch-system-sed sed">
104 <primary sortas="b-sed">sed</primary>
105 </indexterm>
106 </listitem>
107 </varlistentry>
108
109 </variablelist>
110
111 </sect2>
112
113</sect1>
Note: See TracBrowser for help on using the repository browser.