summaryrefslogtreecommitdiffstats
path: root/man/oh-installfiles.1in
blob: 9dd96156c12ec3a42fe381e672247f0dba45c728 (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
.\" Author: Patrick "P. J." McDermott
.TH oh-installfiles 1 \
"2012-10-21" "@PACKAGE@ @PACKAGE_VERSION@" "@PACKAGE_NAME@"

.SH NAME
oh-installfiles \- Install files into binary package data directories.

.SH SYNOPSIS
.B oh-installfiles
.RB [ -d
.IR dir ]

.SH DESCRIPTION
.B oh-installfiles
is a utility that installs files into binary package data directories.  For each
binary package,
.B oh-installfiles
moves files that match patterns in a file called
.I files
from the installation destination directory to the binary package's data
directory.

.SH OPTIONS
.TP
.BI \-d \ dir
Look for data files in
.IR dir .
The default directory is
.IR dest .

.SH FILES
.TP
.IR binpkg .pkg/files
Every binary package that is to provide data files should have a file named
.I files
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 \(en that is, they should be full filesystem paths like
.IR /usr/bin/foo .

.SH COPYRIGHT
Copyright (C) 2012 Patrick "P. J." McDermott
.sp
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.
.sp
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.
.sp
You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.