summaryrefslogtreecommitdiffstats
path: root/dev/opkhelper/oh-installfiles.1.mdwn
blob: b2d1a76e9fceae3a1ba6ed9552d2f5ca85877d99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[[!meta title="oh-installfiles"]]

<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#OPTIONS">OPTIONS</a><br>
<a href="#FILES">FILES</a><br>
<a href="#COPYRIGHT">COPYRIGHT</a><br>

<hr>


<h2>NAME
<a name="NAME"></a>
</h2>



<p style="margin-left:11%; margin-top: 1em">oh-installfiles
&minus; Install files into binary package data
directories.</p>

<h2>SYNOPSIS
<a name="SYNOPSIS"></a>
</h2>



<p style="margin-left:11%; margin-top: 1em"><b>oh-installfiles</b>
[<b>-d</b> <i>dir</i>]</p>

<h2>DESCRIPTION
<a name="DESCRIPTION"></a>
</h2>



<p style="margin-left:11%; margin-top: 1em"><b>oh-installfiles</b>
is a utility that installs files into binary package data
directories. For each binary package, <b>oh-installfiles</b>
moves files that match patterns in a file called
<i>files</i> from the installation destination directory to
the binary package&rsquo;s data directory.</p>

<h2>OPTIONS
<a name="OPTIONS"></a>
</h2>


<table width="100%" border="0" rules="none" frame="void"
       cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="9%">



<p style="margin-top: 1em"><b>&minus;d&nbsp;</b><i>dir</i></p> </td>
<td width="2%"></td>
<td width="78%">


<p style="margin-top: 1em">Look for data files in
<i>dir</i>. The default directory is <i>dest</i>.</p></td></tr>
</table>

<h2>FILES
<a name="FILES"></a>
</h2>



<p style="margin-left:11%; margin-top: 1em"><i>binpkg</i>.pkg/files</p>

<p style="margin-left:22%;">Every binary package that is to
provide data files should have a file named <i>files</i> in
its metadata directory. This file is a list of patterns, one
per line, that match files in the installation destination
directory. The pathnames should be absolute &ndash; that is,
they should be full filesystem paths like
<i>/usr/bin/foo</i>.</p>

<h2>COPYRIGHT
<a name="COPYRIGHT"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">Copyright (C)
2012 Patrick &quot;P. J.&quot; McDermott</p>

<p style="margin-left:11%; margin-top: 1em">This program is
free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 2
of the License, or (at your option) any later version.</p>

<p style="margin-left:11%; margin-top: 1em">This program is
distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.</p>

<p style="margin-left:11%; margin-top: 1em">You should have
received a copy of the GNU General Public License along with
this program. If not, see
&lt;http://www.gnu.org/licenses/&gt;.</p>