source: BOOK/final-system/common/patch.xml@ c5c09e6

sysvinit
Last change on this file since c5c09e6 was b27081c4, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

  • Property mode set to 100644
File size: 2.2 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-patch" role="wrap">
9 <?dbhtml filename="patch.html"?>
10
11 <title>Patch-&patch-version;</title>
12
13 <indexterm zone="ch-system-patch">
14 <primary sortas="a-Patch">Patch</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Patch package contains a program for modifying or creating
21 files by applying a <quote>patch</quote> file typically created by the
22 <command>diff</command> program.</para>
23
24 </sect2>
25
26 <sect2 role="installation">
27 <title>Installation of Patch</title>
28
29 <para os="a">Prepare Patch for compilation:</para>
30
31<screen os="b"><userinput>./configure \
32 --prefix=/usr</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">To test the results, issue:</para>
39
40<screen os="e2"><userinput remap="test">make check</userinput></screen>
41
42 <para os="f">Install the package:</para>
43
44<screen os="g"><userinput>make install</userinput></screen>
45
46 </sect2>
47
48 <sect2 id="contents-patch" role="content">
49 <title>Contents of Patch</title>
50
51 <segmentedlist>
52 <segtitle>Installed program</segtitle>
53
54 <seglistitem>
55 <seg>patch</seg>
56 </seglistitem>
57 </segmentedlist>
58
59 <variablelist>
60 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
61 <?dbfo list-presentation="list"?>
62 <?dbhtml list-presentation="table"?>
63
64 <varlistentry id="patch">
65 <term><command>patch</command></term>
66 <listitem>
67 <para>Modifies files according to a patch file. A patch file is
68 normally a difference listing created with the <command>diff</command>
69 program. By applying these differences to the original files,
70 <command>patch</command> creates the patched versions.</para>
71 <indexterm zone="ch-system-patch patch">
72 <primary sortas="b-patch">patch</primary>
73 </indexterm>
74 </listitem>
75 </varlistentry>
76
77 </variablelist>
78
79 </sect2>
80
81</sect1>
82
Note: See TracBrowser for help on using the repository browser.